home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Software Dispatch
/
Apple Software Dispatch.iso
/
Software Dispatch Files
/
Lemmings
/
Trial Version
/
Trial Version.rsrc
/
CODE_2.txt
< prev
next >
Wrap
Text File
|
1992-10-22
|
462KB
|
8,343 lines
# near model CODE resource
# jump table entries: 80-107 (28 of them)
export_34:
00000000 4EBA 00DC jsr [PC + 0xDC /* 000000DE */]
00000004 4A2D CE68 tst.b [A5 - 0x3198]
00000008 6604 bne +0x6 /* 0000000E */
0000000A 4EBA 0146 jsr [PC + 0x146 /* 00000152 */]
label0000000E:
0000000E 4A2D CE68 tst.b [A5 - 0x3198]
00000012 6604 bne +0x6 /* 00000018 */
00000014 4EBA 021E jsr [PC + 0x21E /* 00000234 */]
label00000018:
00000018 4A2D CE68 tst.b [A5 - 0x3198]
0000001C 6600 009C bne +0x9E /* 000000BA */
00000020 4EBA 050A jsr [PC + 0x50A /* 0000052C */]
00000024 6000 0094 bra +0x96 /* 000000BA */
label00000028:
00000028 4A2D CE60 tst.b [A5 - 0x31A0]
0000002C 6714 beq +0x16 /* 00000042 */
0000002E 4227 clr.b -[A7]
00000030 3F3C FFFF move.w -[A7], 0xFFFF
00000034 486D D650 pea.l [A5 - 0x29B0]
00000038 42A7 clr.l -[A7]
0000003A 42A7 clr.l -[A7]
0000003C A860 syscall WaitNextEvent
0000003E 548F addq.l A7, 2
00000040 6010 bra +0x12 /* 00000052 */
label00000042:
00000042 A9B4 syscall SystemTask
00000044 4227 clr.b -[A7]
00000046 3F3C FFFF move.w -[A7], 0xFFFF
0000004A 486D D650 pea.l [A5 - 0x29B0]
0000004E A970 syscall GetNextEvent
00000050 548F addq.l A7, 2
label00000052:
00000052 4EBA 138C jsr [PC + 0x138C /* 000013E0 */]
00000056 4A2D CE62 tst.b [A5 - 0x319E]
0000005A 675E beq +0x60 /* 000000BA */
0000005C 42A7 clr.l -[A7]
0000005E A975 syscall TickCount
00000060 2B5F D616 move.l [A5 - 0x29EA], [A7]+
00000064 302D CFDC move.w D0, [A5 - 0x3024]
00000068 0C40 000A cmpi.w D0, 0xA /* '\n' */
0000006C 624C bhi +0x4E /* 000000BA */
0000006E 43FA 0058 lea.l A1, [PC + 0x58 /* 000000C8, value 0xFFB2FFB8 */]
00000072 D040 add.w D0, D0
00000074 D2F1 0000 add.w A1, [A1 + D0.w]
00000078 4ED1 jmp [A1]
0000007A 4EBA 200C jsr [PC + 0x200C /* 00002088 */]
0000007E 603A bra +0x3C /* 000000BA */
00000080 4EBA 2162 jsr [PC + 0x2162 /* 000021E4 */]
00000084 6034 bra +0x36 /* 000000BA */
00000086 4EBA 224A jsr [PC + 0x224A /* 000022D2 */]
0000008A 602E bra +0x30 /* 000000BA */
0000008C 4EBA 22A8 jsr [PC + 0x22A8 /* 00002336 */]
00000090 6028 bra +0x2A /* 000000BA */
00000092 4EBA 23E4 jsr [PC + 0x23E4 /* 00002478 */]
00000096 6022 bra +0x24 /* 000000BA */
00000098 4EBA 2454 jsr [PC + 0x2454 /* 000024EE */]
0000009C 601C bra +0x1E /* 000000BA */
0000009E 4EBA 24C8 jsr [PC + 0x24C8 /* 00002568 */]
000000A2 6016 bra +0x18 /* 000000BA */
000000A4 4EBA 2572 jsr [PC + 0x2572 /* 00002618 */]
000000A8 6010 bra +0x12 /* 000000BA */
000000AA 4EBA 25D6 jsr [PC + 0x25D6 /* 00002682 */]
000000AE 600A bra +0xC /* 000000BA */
000000B0 4EBA 2650 jsr [PC + 0x2650 /* 00002702 */]
000000B4 6004 bra +0x6 /* 000000BA */
000000B6 4EBA 2688 jsr [PC + 0x2688 /* 00002740 */]
label000000BA:
000000BA 4A2D CE68 tst.b [A5 - 0x3198]
000000BE 6700 FF68 beq -0x96 /* 00000028 */
000000C2 4EBA 12D0 jsr [PC + 0x12D0 /* 00001394 */]
000000C6 4E75 rts
000000C8 FFB2 .invalid <<F/6/7>>
000000CA FFB8 .invalid <<F/6/7>>
000000CC FFBE .invalid <<F/6/7>>
000000CE FFC4 .invalid <<F/7/7>>
000000D0 FFCA .invalid <<F/7/7>>
000000D2 FFD0 .invalid <<F/7/7>>
000000D4 FFD6 .invalid <<F/7/7>>
000000D6 FFDC .invalid <<F/7/7>>
000000D8 FFE2 .invalid <<F/7/7>>
000000DA FFE8 .invalid <<F/7/7>>
000000DC FFEE .invalid <<F/7/7>>
fn000000DE:
000000DE A063 syscall MaxApplZone
000000E0 486D FDE8 pea.l [A5 - 0x218]
000000E4 A86E syscall InitGraf
000000E6 A8FE syscall InitFonts
000000E8 A912 syscall InitWindows
000000EA A930 syscall InitMenus
000000EC A9CC syscall TEInit
000000EE 42A7 clr.l -[A7]
000000F0 A97B syscall InitDialogs
000000F2 A850 syscall InitCursor
000000F4 A01C syscall FreeMem
000000F6 A040 syscall ResrvMem/ReserveMem
000000F8 A036 syscall MoreMasters
000000FA A036 syscall MoreMasters
000000FC A036 syscall MoreMasters
000000FE A036 syscall MoreMasters
00000100 2F3C 0000 FFFF move.l -[A7], 0xFFFF
00000106 201F move.l D0, [A7]+
00000108 A032 syscall FlushEvents
0000010A 4227 clr.b -[A7]
0000010C 3F3C FFFF move.w -[A7], 0xFFFF
00000110 486D D650 pea.l [A5 - 0x29B0]
00000114 A970 syscall GetNextEvent
00000116 082D 0001 D65E btst.b [A5 - 0x29A2], 0x1
0000011C 548F addq.l A7, 2
0000011E 6706 beq +0x8 /* 00000126 */
00000120 1B7C 0001 D677 move.b [A5 - 0x2989], 0x1
label00000126:
00000126 082D 0002 D65E btst.b [A5 - 0x29A2], 0x2
0000012C 6706 beq +0x8 /* 00000134 */
0000012E 1B7C 0001 D678 move.b [A5 - 0x2988], 0x1
label00000134:
00000134 082D 0004 D65E btst.b [A5 - 0x29A2], 0x4
0000013A 6706 beq +0x8 /* 00000142 */
0000013C 1B7C 0001 D679 move.b [A5 - 0x2987], 0x1
label00000142:
00000142 082D 0003 D65E btst.b [A5 - 0x29A2], 0x3
00000148 6706 beq +0x8 /* 00000150 */
0000014A 1B7C 0001 D67A move.b [A5 - 0x2986], 0x1
label00000150:
00000150 4E75 rts
fn00000152:
00000152 4E56 FFFC link A6, -0x0004
00000156 2F07 move.l -[A7], D7
00000158 4267 clr.w -[A7]
0000015A 2F3C 6D61 6368 move.l -[A7], 0x6D616368 /* 'mach' */
00000160 486E FFFC pea.l [A6 - 0x4]
00000164 4EBA 3726 jsr [PC + 0x3726 /* 0000388C */]
00000168 3E1F move.w D7, [A7]+
0000016A 4A47 tst.w D7
0000016C 6600 00B0 bne +0xB2 /* 0000021E */
00000170 4267 clr.w -[A7]
00000172 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000176 A86B syscall LoWord
00000178 3B5F D590 move.w [A5 - 0x2A70], [A7]+
0000017C 4267 clr.w -[A7]
0000017E 2F3C 7072 6F63 move.l -[A7], 0x70726F63 /* 'proc' */
00000184 486E FFFC pea.l [A6 - 0x4]
00000188 4EBA 3702 jsr [PC + 0x3702 /* 0000388C */]
0000018C 3E1F move.w D7, [A7]+
0000018E 4A47 tst.w D7
00000190 6600 008C bne +0x8E /* 0000021E */
00000194 4267 clr.w -[A7]
00000196 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000019A A86B syscall LoWord
0000019C 3B5F D592 move.w [A5 - 0x2A6E], [A7]+
000001A0 4267 clr.w -[A7]
000001A2 2F3C 7379 7376 move.l -[A7], 0x73797376 /* 'sysv' */
000001A8 486E FFFC pea.l [A6 - 0x4]
000001AC 4EBA 36DE jsr [PC + 0x36DE /* 0000388C */]
000001B0 3E1F move.w D7, [A7]+
000001B2 4A47 tst.w D7
000001B4 6668 bne +0x6A /* 0000021E */
000001B6 4267 clr.w -[A7]
000001B8 2F2E FFFC move.l -[A7], [A6 - 0x4]
000001BC A86B syscall LoWord
000001BE 3B5F D594 move.w [A5 - 0x2A6C], [A7]+
000001C2 4267 clr.w -[A7]
000001C4 2F3C 7164 2020 move.l -[A7], 0x71642020 /* 'qd ' */
000001CA 486E FFFC pea.l [A6 - 0x4]
000001CE 4EBA 36BC jsr [PC + 0x36BC /* 0000388C */]
000001D2 3E1F move.w D7, [A7]+
000001D4 4A47 tst.w D7
000001D6 6646 bne +0x48 /* 0000021E */
000001D8 4267 clr.w -[A7]
000001DA 2F2E FFFC move.l -[A7], [A6 - 0x4]
000001DE A86B syscall LoWord
000001E0 3B5F D596 move.w [A5 - 0x2A6A], [A7]+
000001E4 0C6D 0600 D594 cmpi.w [A5 - 0x2A6C], 0x600
000001EA 650E bcs +0x10 /* 000001FA */
000001EC 0C6D 0003 D592 cmpi.w [A5 - 0x2A6E], 0x3
000001F2 6D06 blt +0x8 /* 000001FA */
000001F4 1B7C 0001 CE5E move.b [A5 - 0x31A2], 0x1
label000001FA:
000001FA 0C6D 0200 D596 cmpi.w [A5 - 0x2A6A], 0x200
00000200 6506 bcs +0x8 /* 00000208 */
00000202 1B7C 0001 CE5F move.b [A5 - 0x31A1], 0x1
label00000208:
00000208 3F3C A860 move.w -[A7], 0xA860
0000020C 4EBA 2844 jsr [PC + 0x2844 /* 00002A52 */]
00000210 4A00 tst.b D0
00000212 548F addq.l A7, 2
00000214 6716 beq +0x18 /* 0000022C */
00000216 1B7C 0001 CE60 move.b [A5 - 0x31A0], 0x1
0000021C 600E bra +0x10 /* 0000022C */
label0000021E:
0000021E 3F3C 03E8 move.w -[A7], 0x3E8
00000222 4EBA 2A56 jsr [PC + 0x2A56 /* 00002C7A */]
00000226 1B7C 0001 CE68 move.b [A5 - 0x3198], 0x1
label0000022C:
0000022C 2E2E FFF8 move.l D7, [A6 - 0x8]
00000230 4E5E unlink A6
00000232 4E75 rts
fn00000234:
00000234 4E56 FEF0 link A6, -0x0110
00000238 48E7 0300 movem.l -[A7], D6,D7
0000023C 2B78 09EE D598 move.l [A5 - 0x2A68], [0x000009EE /* GrayRgn */]
00000242 42A7 clr.l -[A7]
00000244 A8D8 syscall NewRgn
00000246 2B5F D59C move.l [A5 - 0x2A64], [A7]+
0000024A 2F2D D59C move.l -[A7], [A5 - 0x2A64]
0000024E 486D FD74 pea.l [A5 - 0x28C]
00000252 A8DF syscall RectRgn
00000254 2F2D D59C move.l -[A7], [A5 - 0x2A64]
00000258 2F38 09EE move.l -[A7], [0x000009EE /* GrayRgn */]
0000025C 2F2D D59C move.l -[A7], [A5 - 0x2A64]
00000260 A8E6 syscall DiffRgn
00000262 42A7 clr.l -[A7]
00000264 A8D8 syscall NewRgn
00000266 2B5F D5A0 move.l [A5 - 0x2A60], [A7]+
0000026A 2F2D D5A0 move.l -[A7], [A5 - 0x2A60]
0000026E 486D FD74 pea.l [A5 - 0x28C]
00000272 A8DF syscall RectRgn
00000274 2F2D D5A0 move.l -[A7], [A5 - 0x2A60]
00000278 2F38 09EE move.l -[A7], [0x000009EE /* GrayRgn */]
0000027C 2F2D D5A0 move.l -[A7], [A5 - 0x2A60]
00000280 A8E5 syscall UnionRgn
00000282 3B78 0BAA D5A4 move.w [A5 - 0x2A5C], [0x00000BAA /* MBarHeight */]
00000288 4267 clr.w -[A7]
0000028A 486D D5B2 pea.l [A5 - 0x2A4E]
0000028E 486D D5D2 pea.l [A5 - 0x2A2E]
00000292 4EBA 38E2 jsr [PC + 0x38E2 /* 00003B76 */]
00000296 3C1F move.w D6, [A7]+
00000298 486D D5D4 pea.l [A5 - 0x2A2C]
0000029C 486D D614 pea.l [A5 - 0x29EC]
000002A0 486E FFFC pea.l [A6 - 0x4]
000002A4 A9F5 syscall GetAppParms
000002A6 486E FFFA pea.l [A6 - 0x6]
000002AA 486E FFF8 pea.l [A6 - 0x8]
000002AE 4EBA 390E jsr [PC + 0x390E /* 00003BBE */]
000002B2 4A6E FFFA tst.w [A6 - 0x6]
000002B6 6614 bne +0x16 /* 000002CC */
000002B8 0C6E 0001 FFF8 cmpi.w [A6 - 0x8], 0x1
000002BE 660C bne +0xE /* 000002CC */
000002C0 3F3C 0001 move.w -[A7], 0x1
000002C4 486E FEF0 pea.l [A6 - 0x110]
000002C8 4EBA 3918 jsr [PC + 0x3918 /* 00003BE2 */]
label000002CC:
000002CC 7E01 moveq.l D7, 0x01
000002CE 6008 bra +0xA /* 000002D8 */
label000002D0:
000002D0 3F07 move.w -[A7], D7
000002D2 4EBA 3954 jsr [PC + 0x3954 /* 00003C28 */]
000002D6 5247 addq.w D7, 1
label000002D8:
000002D8 BE6E FFF8 cmp.w D7, [A6 - 0x8]
000002DC 6FF2 ble -0xC /* 000002D0 */
000002DE 42A7 clr.l -[A7]
000002E0 3F3C 0004 move.w -[A7], 0x4
000002E4 A9B9 syscall GetCursor
000002E6 2B5F D63C move.l [A5 - 0x29C4], [A7]+
000002EA 4EBA 0020 jsr [PC + 0x20 /* 0000030C */]
000002EE 3C00 move.w D6, D0
000002F0 4A46 tst.w D6
000002F2 660A bne +0xC /* 000002FE */
000002F4 4EBA 019A jsr [PC + 0x19A /* 00000490 */]
000002F8 3C00 move.w D6, D0
000002FA 4A46 tst.w D6
000002FC 6706 beq +0x8 /* 00000304 */
label000002FE:
000002FE 1B7C 0001 CE68 move.b [A5 - 0x3198], 0x1
label00000304:
00000304 4CDF 00C0 movem.l D6,D7, [A7]+
00000308 4E5E unlink A6
0000030A 4E75 rts
fn0000030C:
0000030C 48E7 0018 movem.l -[A7], A3,A4
00000310 4A2D CE5F tst.b [A5 - 0x31A1]
00000314 6700 0112 beq +0x114 /* 00000428 */
00000318 1B7C 0001 D69F move.b [A5 - 0x2961], 0x1
0000031E 42A7 clr.l -[A7]
00000320 AA2A syscall GetMainDevice
00000322 285F movea.l A4, [A7]+
00000324 42A7 clr.l -[A7]
00000326 AA29 syscall GetDeviceList
00000328 265F movea.l A3, [A7]+
0000032A B9CB cmpa.l A4, A3
0000032C 6608 bne +0xA /* 00000336 */
0000032E 42A7 clr.l -[A7]
00000330 2F0B move.l -[A7], A3
00000332 AA2B syscall GetNextDevice
00000334 265F movea.l A3, [A7]+
label00000336:
00000336 4A2D D679 tst.b [A5 - 0x2987]
0000033A 6704 beq +0x6 /* 00000340 */
0000033C 200B move.l D0, A3
0000033E 660C bne +0xE /* 0000034C */
label00000340:
00000340 1B7C 0001 D69E move.b [A5 - 0x2962], 0x1
00000346 2B4C D68E move.l [A5 - 0x2972], A4
0000034A 6008 bra +0xA /* 00000354 */
label0000034C:
0000034C 422D D69E clr.b [A5 - 0x2962]
00000350 2B4B D68E move.l [A5 - 0x2972], A3
label00000354:
00000354 206D D68E movea.l A0, [A5 - 0x2972]
00000358 2050 movea.l A0, [A0]
0000035A 2B68 0016 D692 move.l [A5 - 0x296E], [A0 + 0x16]
00000360 206D D692 movea.l A0, [A5 - 0x296E]
00000364 2050 movea.l A0, [A0]
00000366 2B68 002A D696 move.l [A5 - 0x296A], [A0 + 0x2A]
0000036C 206D D696 movea.l A0, [A5 - 0x296A]
00000370 2050 movea.l A0, [A0]
00000372 2B50 D69A move.l [A5 - 0x2966], [A0]
00000376 206D D692 movea.l A0, [A5 - 0x296E]
0000037A 2050 movea.l A0, [A0]
0000037C 4A68 001E tst.w [A0 + 0x1E]
00000380 6710 beq +0x12 /* 00000392 */
00000382 206D D692 movea.l A0, [A5 - 0x296E]
00000386 2050 movea.l A0, [A0]
00000388 0C68 0010 001E cmpi.w [A0 + 0x1E], 0x10
0000038E 6600 00DC bne +0xDE /* 0000046C */
label00000392:
00000392 206D D692 movea.l A0, [A5 - 0x296E]
00000396 2050 movea.l A0, [A0]
00000398 226D D692 movea.l A1, [A5 - 0x296E]
0000039C 2251 movea.l A1, [A1]
0000039E 3028 0022 move.w D0, [A0 + 0x22]
000003A2 C1E9 0024 muls.w D0, [A1 + 0x24]
000003A6 3B40 D67C move.w [A5 - 0x2984], D0
000003AA 0C40 000F cmpi.w D0, 0xF
000003AE 6700 00BC beq +0xBE /* 0000046C */
000003B2 0C6D 0018 D67C cmpi.w [A5 - 0x2984], 0x18
000003B8 6700 00B2 beq +0xB4 /* 0000046C */
000003BC 206D D692 movea.l A0, [A5 - 0x296E]
000003C0 2050 movea.l A0, [A0]
000003C2 2B68 0006 D682 move.l [A5 - 0x297E], [A0 + 0x6]
000003C8 2B68 000A D686 move.l [A5 - 0x297A], [A0 + 0xA]
000003CE 302D D67C move.w D0, [A5 - 0x2984]
000003D2 0C40 0008 cmpi.w D0, 0x8
000003D6 6244 bhi +0x46 /* 0000041C */
000003D8 43FA 00A4 lea.l A1, [PC + 0xA4 /* 0000047E, value 0xFF9EFF66 */]
000003DC D040 add.w D0, D0
000003DE D2F1 0000 add.w A1, [A1 + D0.w]
000003E2 4ED1 jmp [A1]
000003E4 3B7C FFE0 D67E move.w [A5 - 0x2982], 0xFFE0
000003EA 3B7C 001F D680 move.w [A5 - 0x2980], 0x1F
000003F0 605E bra +0x60 /* 00000450 */
000003F2 3B7C FFF0 D67E move.w [A5 - 0x2982], 0xFFF0
000003F8 3B7C 000F D680 move.w [A5 - 0x2980], 0xF
000003FE 6050 bra +0x52 /* 00000450 */
00000400 3B7C FFF8 D67E move.w [A5 - 0x2982], 0xFFF8
00000406 3B7C 0007 D680 move.w [A5 - 0x2980], 0x7
0000040C 6042 bra +0x44 /* 00000450 */
0000040E 3B7C FFFC D67E move.w [A5 - 0x2982], 0xFFFC
00000414 3B7C 0003 D680 move.w [A5 - 0x2980], 0x3
0000041A 6034 bra +0x36 /* 00000450 */
label0000041C:
0000041C 3B7C FFFF D67E move.w [A5 - 0x2982], 0xFFFF
00000422 426D D680 clr.w [A5 - 0x2980]
00000426 6028 bra +0x2A /* 00000450 */
label00000428:
00000428 422D D69F clr.b [A5 - 0x2961]
0000042C 1B7C 0001 D69E move.b [A5 - 0x2962], 0x1
00000432 3B7C 0001 D67C move.w [A5 - 0x2984], 0x1
00000438 2B6D FD74 D682 move.l [A5 - 0x297E], [A5 - 0x28C]
0000043E 2B6D FD78 D686 move.l [A5 - 0x297A], [A5 - 0x288]
00000444 3B7C FFF0 D67E move.w [A5 - 0x2982], 0xFFF0
0000044A 3B7C 000F D680 move.w [A5 - 0x2980], 0xF
label00000450:
00000450 302D D688 move.w D0, [A5 - 0x2978]
00000454 906D D684 sub.w D0, [A5 - 0x297C]
00000458 3B40 D68A move.w [A5 - 0x2976], D0
0000045C 322D D686 move.w D1, [A5 - 0x297A]
00000460 926D D682 sub.w D1, [A5 - 0x297E]
00000464 3B41 D68C move.w [A5 - 0x2974], D1
00000468 7000 moveq.l D0, 0x00
0000046A 600C bra +0xE /* 00000478 */
label0000046C:
0000046C 3F3C 03EB move.w -[A7], 0x3EB
00000470 4EBA 2808 jsr [PC + 0x2808 /* 00002C7A */]
00000474 70FF moveq.l D0, 0xFFFFFFFF
00000476 548F addq.l A7, 2
label00000478:
00000478 4CDF 1800 movem.l A3,A4, [A7]+
0000047C 4E75 rts
0000047E FF9E .invalid <<F/6/7>>
00000480 FF66 .extension 0xF66 <<F/4-5/7>> // unimplemented
00000482 FF74 .extension 0xF74 <<F/4-5/7>> // unimplemented
00000484 FF9E .invalid <<F/6/7>>
00000486 FF82 .invalid <<F/6/7>>
00000488 FF9E .invalid <<F/6/7>>
0000048A FF9E .invalid <<F/6/7>>
0000048C FF9E .invalid <<F/6/7>>
0000048E FF90 .invalid <<F/6/7>>
fn00000490:
00000490 2F07 move.l -[A7], D7
00000492 42A7 clr.l -[A7]
00000494 3F3C 03E8 move.w -[A7], 0x3E8
00000498 A9BF syscall GetRMenu
0000049A 2B5F D62C move.l [A5 - 0x29D4], [A7]+
0000049E 4267 clr.w -[A7]
000004A0 A9AF syscall ResError
000004A2 3E1F move.w D7, [A7]+
000004A4 4A47 tst.w D7
000004A6 6674 bne +0x76 /* 0000051C */
000004A8 2F2D D62C move.l -[A7], [A5 - 0x29D4]
000004AC 2F3C 4452 5652 move.l -[A7], 0x44525652 /* 'DRVR' */
000004B2 A94D syscall AppendResMenu/AddResMenu
000004B4 2F2D D62C move.l -[A7], [A5 - 0x29D4]
000004B8 4267 clr.w -[A7]
000004BA A935 syscall InsertMenu
000004BC 42A7 clr.l -[A7]
000004BE 3F3C 03E9 move.w -[A7], 0x3E9
000004C2 A9BF syscall GetRMenu
000004C4 2B5F D630 move.l [A5 - 0x29D0], [A7]+
000004C8 4267 clr.w -[A7]
000004CA A9AF syscall ResError
000004CC 3E1F move.w D7, [A7]+
000004CE 4A47 tst.w D7
000004D0 664A bne +0x4C /* 0000051C */
000004D2 2F2D D630 move.l -[A7], [A5 - 0x29D0]
000004D6 4267 clr.w -[A7]
000004D8 A935 syscall InsertMenu
000004DA 42A7 clr.l -[A7]
000004DC 3F3C 03EA move.w -[A7], 0x3EA
000004E0 A9BF syscall GetRMenu
000004E2 2B5F D634 move.l [A5 - 0x29CC], [A7]+
000004E6 4267 clr.w -[A7]
000004E8 A9AF syscall ResError
000004EA 3E1F move.w D7, [A7]+
000004EC 4A47 tst.w D7
000004EE 662C bne +0x2E /* 0000051C */
000004F0 2F2D D634 move.l -[A7], [A5 - 0x29CC]
000004F4 4267 clr.w -[A7]
000004F6 A935 syscall InsertMenu
000004F8 42A7 clr.l -[A7]
000004FA 3F3C 03EB move.w -[A7], 0x3EB
000004FE A9BF syscall GetRMenu
00000500 2B5F D638 move.l [A5 - 0x29C8], [A7]+
00000504 4267 clr.w -[A7]
00000506 A9AF syscall ResError
00000508 3E1F move.w D7, [A7]+
0000050A 4A47 tst.w D7
0000050C 660E bne +0x10 /* 0000051C */
0000050E 2F2D D638 move.l -[A7], [A5 - 0x29C8]
00000512 4267 clr.w -[A7]
00000514 A935 syscall InsertMenu
00000516 A937 syscall DrawMenuBar
00000518 7000 moveq.l D0, 0x00
0000051A 600C bra +0xE /* 00000528 */
label0000051C:
0000051C 3F3C 03EA move.w -[A7], 0x3EA
00000520 4EBA 2758 jsr [PC + 0x2758 /* 00002C7A */]
00000524 70FF moveq.l D0, 0xFFFFFFFF
00000526 548F addq.l A7, 2
label00000528:
00000528 2E1F move.l D7, [A7]+
0000052A 4E75 rts
fn0000052C:
0000052C 48E7 0708 movem.l -[A7], D5,D6,D7,A4
00000530 42A7 clr.l -[A7]
00000532 A975 syscall TickCount
00000534 2E1F move.l D7, [A7]+
00000536 0247 03FF andi.w D7, 0x3FF
0000053A 7C00 moveq.l D6, 0x00
0000053C 600C bra +0xE /* 0000054A */
label0000053E:
0000053E 3F3C 00FF move.w -[A7], 0xFF
00000542 4EBA 2354 jsr [PC + 0x2354 /* 00002898 */]
00000546 548F addq.l A7, 2
00000548 5246 addq.w D6, 1
label0000054A:
0000054A BE46 cmp.w D7, D6
0000054C 6EF0 bgt -0xE /* 0000053E */
0000054E 4EBA 013A jsr [PC + 0x13A /* 0000068A */]
00000552 3B7C FFFF DF5A move.w [A5 - 0x20A6], 0xFFFF
00000558 3B7C 1DCF DFDC move.w [A5 - 0x2024], 0x1DCF
0000055E 3B7C 1B0F E008 move.w [A5 - 0x1FF8], 0x1B0F
00000564 3B7C 5A83 E026 move.w [A5 - 0x1FDA], 0x5A83
0000056A 3B7C DDFF EB68 move.w [A5 - 0x1498], 0xDDFF
00000570 4EBA 0686 jsr [PC + 0x686 /* 00000BF8 */]
00000574 3A00 move.w D5, D0
00000576 4A45 tst.w D5
00000578 6600 0104 bne +0x106 /* 0000067E */
0000057C 4EBA 06C2 jsr [PC + 0x6C2 /* 00000C40 */]
00000580 3A00 move.w D5, D0
00000582 4A45 tst.w D5
00000584 6600 00F8 bne +0xFA /* 0000067E */
00000588 7002 moveq.l D0, 0x02
0000058A D0AD FF80 add.l D0, [A5 - 0x80]
0000058E 2B40 D90A move.l [A5 - 0x26F6], D0
00000592 4EBA 0AB6 jsr [PC + 0xAB6 /* 0000104A */]
00000596 3A00 move.w D5, D0
00000598 4A45 tst.w D5
0000059A 6600 00E2 bne +0xE4 /* 0000067E */
0000059E 7002 moveq.l D0, 0x02
000005A0 D0AD D6A6 add.l D0, [A5 - 0x295A]
000005A4 2B40 D90E move.l [A5 - 0x26F2], D0
000005A8 4EBA 0CCA jsr [PC + 0xCCA /* 00001274 */]
000005AC 3A00 move.w D5, D0
000005AE 4A45 tst.w D5
000005B0 6600 00CC bne +0xCE /* 0000067E */
000005B4 4EAD 0162 jsr [A5 + 0x162 /* export_40 */]
000005B8 3B40 DF5A move.w [A5 - 0x20A6], D0
000005BC 4A2D D69F tst.b [A5 - 0x2961]
000005C0 671A beq +0x1C /* 000005DC */
000005C2 42A7 clr.l -[A7]
000005C4 3F3C 03E8 move.w -[A7], 0x3E8
000005C8 AA1B syscall GetCCursor
000005CA 2B5F D648 move.l [A5 - 0x29B8], [A7]+
000005CE 42A7 clr.l -[A7]
000005D0 3F3C 03E9 move.w -[A7], 0x3E9
000005D4 AA1B syscall GetCCursor
000005D6 2B5F D64C move.l [A5 - 0x29B4], [A7]+
000005DA 6018 bra +0x1A /* 000005F4 */
label000005DC:
000005DC 42A7 clr.l -[A7]
000005DE 3F3C 03E8 move.w -[A7], 0x3E8
000005E2 A9B9 syscall GetCursor
000005E4 2B5F D640 move.l [A5 - 0x29C0], [A7]+
000005E8 42A7 clr.l -[A7]
000005EA 3F3C 03E9 move.w -[A7], 0x3E9
000005EE A9B9 syscall GetCursor
000005F0 2B5F D644 move.l [A5 - 0x29BC], [A7]+
label000005F4:
000005F4 4227 clr.b -[A7]
000005F6 4EBA 19B0 jsr [PC + 0x19B0 /* 00001FA8 */]
000005FA 1EBC 0001 move.b [A7], 0x1
000005FE 4EBA 19C4 jsr [PC + 0x19C4 /* 00001FC4 */]
00000602 1EBC 0001 move.b [A7], 0x1
00000606 4EBA 1A0A jsr [PC + 0x1A0A /* 00002012 */]
0000060A 0C6D 0006 D590 cmpi.w [A5 - 0x2A70], 0x6
00000610 548F addq.l A7, 2
00000612 6F18 ble +0x1A /* 0000062C */
00000614 0C6D 000A D590 cmpi.w [A5 - 0x2A70], 0xA /* '\n' */
0000061A 6710 beq +0x12 /* 0000062C */
0000061C 0C6D 0011 D590 cmpi.w [A5 - 0x2A70], 0x11
00000622 6708 beq +0xA /* 0000062C */
00000624 0C6D 0013 D590 cmpi.w [A5 - 0x2A70], 0x13
0000062A 660A bne +0xC /* 00000636 */
label0000062C:
0000062C 1F3C 0001 move.b -[A7], 0x1
00000630 4EBA 1A2E jsr [PC + 0x1A2E /* 00002060 */]
00000634 548F addq.l A7, 2
label00000636:
00000636 4A2D D69E tst.b [A5 - 0x2962]
0000063A 6714 beq +0x16 /* 00000650 */
0000063C 302D D68C move.w D0, [A5 - 0x2974]
00000640 9078 0BAA sub.w D0, [0x00000BAA /* MBarHeight */]
00000644 B06D D6AE cmp.w D0, [A5 - 0x2952]
00000648 6C06 bge +0x8 /* 00000650 */
0000064A 1B7C 0001 CE65 move.b [A5 - 0x319B], 0x1
label00000650:
00000650 42A7 clr.l -[A7]
00000652 2F3C 494E 464F move.l -[A7], 0x494E464F /* 'INFO' */
00000658 4267 clr.w -[A7]
0000065A A9A0 syscall GetResource
0000065C 285F movea.l A4, [A7]+
0000065E 2054 movea.l A0, [A4]
00000660 3B50 D624 move.w [A5 - 0x29DC], [A0]
00000664 2054 movea.l A0, [A4]
00000666 3B68 0002 D626 move.w [A5 - 0x29DA], [A0 + 0x2]
0000066C 2054 movea.l A0, [A4]
0000066E 3B68 0004 D628 move.w [A5 - 0x29D8], [A0 + 0x4]
00000674 2054 movea.l A0, [A4]
00000676 3B68 0006 D62A move.w [A5 - 0x29D6], [A0 + 0x6]
0000067C 6006 bra +0x8 /* 00000684 */
label0000067E:
0000067E 1B7C 0001 CE68 move.b [A5 - 0x3198], 0x1
label00000684:
00000684 4CDF 10E0 movem.l D5,D6,D7,A4, [A7]+
00000688 4E75 rts
fn0000068A:
0000068A 4E56 FFFE link A6, -0x0002
0000068E 48E7 1F18 movem.l -[A7], D3,D4,D5,D6,D7,A3,A4
00000692 0C6D 0008 D67C cmpi.w [A5 - 0x2984], 0x8
00000698 6C04 bge +0x6 /* 0000069E */
0000069A 422D D69F clr.b [A5 - 0x2961]
label0000069E:
0000069E 4A2D D69F tst.b [A5 - 0x2961]
000006A2 673A beq +0x3C /* 000006DE */
000006A4 0C6D 0280 D68A cmpi.w [A5 - 0x2976], 0x280
000006AA 6D10 blt +0x12 /* 000006BC */
000006AC 0C6D 01E0 D68C cmpi.w [A5 - 0x2974], 0x1E0
000006B2 6D08 blt +0xA /* 000006BC */
000006B4 3B7C 0002 D6AA move.w [A5 - 0x2956], 0x2
000006BA 6026 bra +0x28 /* 000006E2 */
label000006BC:
000006BC 0C6D 0200 D68A cmpi.w [A5 - 0x2976], 0x200
000006C2 6D10 blt +0x12 /* 000006D4 */
000006C4 0C6D 0180 D68C cmpi.w [A5 - 0x2974], 0x180
000006CA 6D08 blt +0xA /* 000006D4 */
000006CC 3B7C 0001 D6AA move.w [A5 - 0x2956], 0x1
000006D2 600E bra +0x10 /* 000006E2 */
label000006D4:
000006D4 422D D69F clr.b [A5 - 0x2961]
000006D8 426D D6AA clr.w [A5 - 0x2956]
000006DC 6004 bra +0x6 /* 000006E2 */
label000006DE:
000006DE 426D D6AA clr.w [A5 - 0x2956]
label000006E2:
000006E2 4A2D D67A tst.b [A5 - 0x2986]
000006E6 6710 beq +0x12 /* 000006F8 */
000006E8 4A6D D6AA tst.w [A5 - 0x2956]
000006EC 6F0A ble +0xC /* 000006F8 */
000006EE 7003 moveq.l D0, 0x03
000006F0 906D D6AA sub.w D0, [A5 - 0x2956]
000006F4 3B40 D6AA move.w [A5 - 0x2956], D0
label000006F8:
000006F8 302D D6AA move.w D0, [A5 - 0x2956]
000006FC 6716 beq +0x18 /* 00000714 */
000006FE 6B18 bmi +0x1A /* 00000718 */
00000700 5540 subq.w D0, 2
00000702 6704 beq +0x6 /* 00000708 */
00000704 6A12 bpl +0x14 /* 00000718 */
00000706 6006 bra +0x8 /* 0000070E */
label00000708:
00000708 49ED CEA4 lea.l A4, [A5 - 0x315C]
0000070C 600A bra +0xC /* 00000718 */
label0000070E:
0000070E 49ED CF0C lea.l A4, [A5 - 0x30F4]
00000712 6004 bra +0x6 /* 00000718 */
label00000714:
00000714 49ED CF74 lea.l A4, [A5 - 0x308C]
label00000718:
00000718 3B54 D6AC move.w [A5 - 0x2954], [A4]
0000071C 3B6C 0002 D6AE move.w [A5 - 0x2952], [A4 + 0x2]
00000722 486D D6B0 pea.l [A5 - 0x2950]
00000726 42A7 clr.l -[A7]
00000728 3F2D D6AC move.w -[A7], [A5 - 0x2954]
0000072C 3F2D D6AE move.w -[A7], [A5 - 0x2952]
00000730 A8A7 syscall SetRect
00000732 486D D6D2 pea.l [A5 - 0x292E]
00000736 42A7 clr.l -[A7]
00000738 3F2D D6AC move.w -[A7], [A5 - 0x2954]
0000073C 3F2C 0004 move.w -[A7], [A4 + 0x4]
00000740 A8A7 syscall SetRect
00000742 486D D6DA pea.l [A5 - 0x2926]
00000746 4267 clr.w -[A7]
00000748 3F2C 0004 move.w -[A7], [A4 + 0x4]
0000074C 3F2D D6AC move.w -[A7], [A5 - 0x2954]
00000750 3F2C 0006 move.w -[A7], [A4 + 0x6]
00000754 A8A7 syscall SetRect
00000756 486D D6E2 pea.l [A5 - 0x291E]
0000075A 4267 clr.w -[A7]
0000075C 3F2C 0006 move.w -[A7], [A4 + 0x6]
00000760 3F2D D6AC move.w -[A7], [A5 - 0x2954]
00000764 3F2D D6AE move.w -[A7], [A5 - 0x2952]
00000768 A8A7 syscall SetRect
0000076A 3E2C 0008 move.w D7, [A4 + 0x8]
0000076E 3C2C 000A move.w D6, [A4 + 0xA]
00000772 DC6C 0006 add.w D6, [A4 + 0x6]
00000776 3A2C 000C move.w D5, [A4 + 0xC]
0000077A 382C 000E move.w D4, [A4 + 0xE]
0000077E 7600 moveq.l D3, 0x00
00000780 3006 move.w D0, D6
00000782 D044 add.w D0, D4
00000784 3D40 FFFE move.w [A6 - 0x2], D0
00000788 2203 move.l D1, D3
0000078A 48C1 ext.l D1
0000078C E789 lsl D1, 3
0000078E 47ED D6EA lea.l A3, [A5 - 0x2916]
00000792 D28B add.l D1, A3
00000794 2641 movea.l A3, D1
00000796 601A bra +0x1C /* 000007B2 */
label00000798:
00000798 2F0B move.l -[A7], A3
0000079A 3F07 move.w -[A7], D7
0000079C 3F06 move.w -[A7], D6
0000079E 3007 move.w D0, D7
000007A0 D045 add.w D0, D5
000007A2 3F00 move.w -[A7], D0
000007A4 3F2E FFFE move.w -[A7], [A6 - 0x2]
000007A8 A8A7 syscall SetRect
000007AA DE6C 000C add.w D7, [A4 + 0xC]
000007AE 5243 addq.w D3, 1
000007B0 508B addq.l A3, 8
label000007B2:
000007B2 0C43 000C cmpi.w D3, 0xC
000007B6 6DE0 blt -0x1E /* 00000798 */
000007B8 3E2C 0010 move.w D7, [A4 + 0x10]
000007BC DE6C 0008 add.w D7, [A4 + 0x8]
000007C0 3C2C 000A move.w D6, [A4 + 0xA]
000007C4 DC6C 0006 add.w D6, [A4 + 0x6]
000007C8 DC6C 0012 add.w D6, [A4 + 0x12]
000007CC 3A2C 0014 move.w D5, [A4 + 0x14]
000007D0 382C 0016 move.w D4, [A4 + 0x16]
000007D4 7600 moveq.l D3, 0x00
000007D6 3006 move.w D0, D6
000007D8 D044 add.w D0, D4
000007DA 3D40 FFFE move.w [A6 - 0x2], D0
000007DE 2203 move.l D1, D3
000007E0 48C1 ext.l D1
000007E2 E789 lsl D1, 3
000007E4 47ED D74A lea.l A3, [A5 - 0x28B6]
000007E8 D28B add.l D1, A3
000007EA 2641 movea.l A3, D1
000007EC 601A bra +0x1C /* 00000808 */
label000007EE:
000007EE 2F0B move.l -[A7], A3
000007F0 3F07 move.w -[A7], D7
000007F2 3F06 move.w -[A7], D6
000007F4 3007 move.w D0, D7
000007F6 D045 add.w D0, D5
000007F8 3F00 move.w -[A7], D0
000007FA 3F2E FFFE move.w -[A7], [A6 - 0x2]
000007FE A8A7 syscall SetRect
00000800 DE6C 000C add.w D7, [A4 + 0xC]
00000804 5243 addq.w D3, 1
00000806 508B addq.l A3, 8
label00000808:
00000808 0C43 000A cmpi.w D3, 0xA /* '\n' */
0000080C 6DE0 blt -0x1E /* 000007EE */
0000080E 486D D79A pea.l [A5 - 0x2866]
00000812 700C moveq.l D0, 0x0C
00000814 C1EC 000C muls.w D0, [A4 + 0xC]
00000818 D06C 0008 add.w D0, [A4 + 0x8]
0000081C 3F00 move.w -[A7], D0
0000081E 3F2C 0006 move.w -[A7], [A4 + 0x6]
00000822 3F2D D6AC move.w -[A7], [A5 - 0x2954]
00000826 3F2D D6AE move.w -[A7], [A5 - 0x2952]
0000082A A8A7 syscall SetRect
0000082C 486D D79A pea.l [A5 - 0x2866]
00000830 2F3C 0001 0001 move.l -[A7], 0x10001
00000836 A8A9 syscall InsetRect
00000838 3E2C 0018 move.w D7, [A4 + 0x18]
0000083C 3C2C 001A move.w D6, [A4 + 0x1A]
00000840 DC6C 0006 add.w D6, [A4 + 0x6]
00000844 3A2C 001C move.w D5, [A4 + 0x1C]
00000848 382C 001E move.w D4, [A4 + 0x1E]
0000084C 486D D7A2 pea.l [A5 - 0x285E]
00000850 3F07 move.w -[A7], D7
00000852 3F06 move.w -[A7], D6
00000854 3007 move.w D0, D7
00000856 D045 add.w D0, D5
00000858 3F00 move.w -[A7], D0
0000085A 3006 move.w D0, D6
0000085C D044 add.w D0, D4
0000085E 3F00 move.w -[A7], D0
00000860 A8A7 syscall SetRect
00000862 486D D7AA pea.l [A5 - 0x2856]
00000866 302D D6AC move.w D0, [A5 - 0x2954]
0000086A 906D D68A sub.w D0, [A5 - 0x2976]
0000086E 48C0 ext.l D0
00000870 81FC 0002 divs.w D0, 0x2
00000874 3F00 move.w -[A7], D0
00000876 2F3C 0004 0000 move.l -[A7], 0x40000
0000087C 3F3C 0140 move.w -[A7], 0x140
00000880 A8A7 syscall SetRect
00000882 486D D7B2 pea.l [A5 - 0x284E]
00000886 70FC moveq.l D0, 0xFFFFFFFC
00000888 D06D D6AC add.w D0, [A5 - 0x2954]
0000088C 3F00 move.w -[A7], D0
0000088E 4267 clr.w -[A7]
00000890 302D D6AC move.w D0, [A5 - 0x2954]
00000894 D06D D68A add.w D0, [A5 - 0x2976]
00000898 48C0 ext.l D0
0000089A 81FC 0002 divs.w D0, 0x2
0000089E 3F00 move.w -[A7], D0
000008A0 3F3C 0140 move.w -[A7], 0x140
000008A4 A8A7 syscall SetRect
000008A6 426D D7BA clr.w [A5 - 0x2846]
000008AA 2B6D D6D2 D7BC move.l [A5 - 0x2844], [A5 - 0x292E]
000008B0 2B6D D6D6 D7C0 move.l [A5 - 0x2840], [A5 - 0x292A]
000008B6 3E2C 0008 move.w D7, [A4 + 0x8]
000008BA 3C2C 000A move.w D6, [A4 + 0xA]
000008BE 3A2C 000C move.w D5, [A4 + 0xC]
000008C2 382C 000E move.w D4, [A4 + 0xE]
000008C6 7600 moveq.l D3, 0x00
000008C8 3006 move.w D0, D6
000008CA D044 add.w D0, D4
000008CC 3D40 FFFE move.w [A6 - 0x2], D0
000008D0 2203 move.l D1, D3
000008D2 48C1 ext.l D1
000008D4 E789 lsl D1, 3
000008D6 47ED D7CC lea.l A3, [A5 - 0x2834]
000008DA D28B add.l D1, A3
000008DC 2641 movea.l A3, D1
000008DE 601A bra +0x1C /* 000008FA */
label000008E0:
000008E0 2F0B move.l -[A7], A3
000008E2 3F07 move.w -[A7], D7
000008E4 3F06 move.w -[A7], D6
000008E6 3007 move.w D0, D7
000008E8 D045 add.w D0, D5
000008EA 3F00 move.w -[A7], D0
000008EC 3F2E FFFE move.w -[A7], [A6 - 0x2]
000008F0 A8A7 syscall SetRect
000008F2 DE6C 000C add.w D7, [A4 + 0xC]
000008F6 5243 addq.w D3, 1
000008F8 508B addq.l A3, 8
label000008FA:
000008FA 0C43 000C cmpi.w D3, 0xC
000008FE 6DE0 blt -0x1E /* 000008E0 */
00000900 3E2C 0018 move.w D7, [A4 + 0x18]
00000904 3C2C 001A move.w D6, [A4 + 0x1A]
00000908 3A2C 001C move.w D5, [A4 + 0x1C]
0000090C 382C 001E move.w D4, [A4 + 0x1E]
00000910 486D D82C pea.l [A5 - 0x27D4]
00000914 3F07 move.w -[A7], D7
00000916 3F06 move.w -[A7], D6
00000918 3007 move.w D0, D7
0000091A D045 add.w D0, D5
0000091C 3F00 move.w -[A7], D0
0000091E 3006 move.w D0, D6
00000920 D044 add.w D0, D4
00000922 3F00 move.w -[A7], D0
00000924 A8A7 syscall SetRect
00000926 3B6C 0020 D834 move.w [A5 - 0x27CC], [A4 + 0x20]
0000092C 3B6C 0022 D836 move.w [A5 - 0x27CA], [A4 + 0x22]
00000932 3B6C 0024 D838 move.w [A5 - 0x27C8], [A4 + 0x24]
00000938 3B6C 0026 D83A move.w [A5 - 0x27C6], [A4 + 0x26]
0000093E 486D D83C pea.l [A5 - 0x27C4]
00000942 3F2C 0028 move.w -[A7], [A4 + 0x28]
00000946 3F2C 002A move.w -[A7], [A4 + 0x2A]
0000094A A880 syscall SetPt
0000094C 486D D840 pea.l [A5 - 0x27C0]
00000950 3F2C 002C move.w -[A7], [A4 + 0x2C]
00000954 3F2C 002E move.w -[A7], [A4 + 0x2E]
00000958 A880 syscall SetPt
0000095A 486D D844 pea.l [A5 - 0x27BC]
0000095E 3F2C 0030 move.w -[A7], [A4 + 0x30]
00000962 3F2C 0032 move.w -[A7], [A4 + 0x32]
00000966 A880 syscall SetPt
00000968 486D D848 pea.l [A5 - 0x27B8]
0000096C 3F2C 0034 move.w -[A7], [A4 + 0x34]
00000970 3F2C 0036 move.w -[A7], [A4 + 0x36]
00000974 A880 syscall SetPt
00000976 3A2C 003C move.w D5, [A4 + 0x3C]
0000097A 382C 003E move.w D4, [A4 + 0x3E]
0000097E 3E2C 0038 move.w D7, [A4 + 0x38]
00000982 DE6C 0028 add.w D7, [A4 + 0x28]
00000986 3C2C 003A move.w D6, [A4 + 0x3A]
0000098A DC6C 002A add.w D6, [A4 + 0x2A]
0000098E 486D D84C pea.l [A5 - 0x27B4]
00000992 3F07 move.w -[A7], D7
00000994 3F06 move.w -[A7], D6
00000996 3007 move.w D0, D7
00000998 D045 add.w D0, D5
0000099A 3F00 move.w -[A7], D0
0000099C 3006 move.w D0, D6
0000099E D044 add.w D0, D4
000009A0 3F00 move.w -[A7], D0
000009A2 A8A7 syscall SetRect
000009A4 3E2C 0038 move.w D7, [A4 + 0x38]
000009A8 DE6C 002C add.w D7, [A4 + 0x2C]
000009AC 3C2C 003A move.w D6, [A4 + 0x3A]
000009B0 DC6C 002E add.w D6, [A4 + 0x2E]
000009B4 486D D854 pea.l [A5 - 0x27AC]
000009B8 3F07 move.w -[A7], D7
000009BA 3F06 move.w -[A7], D6
000009BC 3007 move.w D0, D7
000009BE D045 add.w D0, D5
000009C0 3F00 move.w -[A7], D0
000009C2 3006 move.w D0, D6
000009C4 D044 add.w D0, D4
000009C6 3F00 move.w -[A7], D0
000009C8 A8A7 syscall SetRect
000009CA 3E2C 0038 move.w D7, [A4 + 0x38]
000009CE DE6C 0030 add.w D7, [A4 + 0x30]
000009D2 3C2C 003A move.w D6, [A4 + 0x3A]
000009D6 DC6C 0032 add.w D6, [A4 + 0x32]
000009DA 486D D85C pea.l [A5 - 0x27A4]
000009DE 3F07 move.w -[A7], D7
000009E0 3F06 move.w -[A7], D6
000009E2 3007 move.w D0, D7
000009E4 D045 add.w D0, D5
000009E6 3F00 move.w -[A7], D0
000009E8 3006 move.w D0, D6
000009EA D044 add.w D0, D4
000009EC 3F00 move.w -[A7], D0
000009EE A8A7 syscall SetRect
000009F0 3E2C 0038 move.w D7, [A4 + 0x38]
000009F4 DE6C 0034 add.w D7, [A4 + 0x34]
000009F8 3C2C 003A move.w D6, [A4 + 0x3A]
000009FC DC6C 0036 add.w D6, [A4 + 0x36]
00000A00 486D D864 pea.l [A5 - 0x279C]
00000A04 3F07 move.w -[A7], D7
00000A06 3F06 move.w -[A7], D6
00000A08 3007 move.w D0, D7
00000A0A D045 add.w D0, D5
00000A0C 3F00 move.w -[A7], D0
00000A0E 3006 move.w D0, D6
00000A10 D044 add.w D0, D4
00000A12 3F00 move.w -[A7], D0
00000A14 A8A7 syscall SetRect
00000A16 7003 moveq.l D0, 0x03
00000A18 C1C5 muls.w D0, D5
00000A1A 48C0 ext.l D0
00000A1C 81FC 0004 divs.w D0, 0x4
00000A20 D06D D866 add.w D0, [A5 - 0x279A]
00000A24 3E00 move.w D7, D0
00000A26 2004 move.l D0, D4
00000A28 48C0 ext.l D0
00000A2A 81FC 0002 divs.w D0, 0x2
00000A2E D06D D864 add.w D0, [A5 - 0x279C]
00000A32 3C00 move.w D6, D0
00000A34 486D D86C pea.l [A5 - 0x2794]
00000A38 3F07 move.w -[A7], D7
00000A3A 3F2D D864 move.w -[A7], [A5 - 0x279C]
00000A3E 3F2D D86A move.w -[A7], [A5 - 0x2796]
00000A42 3F06 move.w -[A7], D6
00000A44 A8A7 syscall SetRect
00000A46 486D D874 pea.l [A5 - 0x278C]
00000A4A 3F07 move.w -[A7], D7
00000A4C 3F06 move.w -[A7], D6
00000A4E 3F2D D86A move.w -[A7], [A5 - 0x2796]
00000A52 3F2D D868 move.w -[A7], [A5 - 0x2798]
00000A56 A8A7 syscall SetRect
00000A58 3A2C 005C move.w D5, [A4 + 0x5C]
00000A5C 382C 005E move.w D4, [A4 + 0x5E]
00000A60 3E2C 0040 move.w D7, [A4 + 0x40]
00000A64 3C2C 0042 move.w D6, [A4 + 0x42]
00000A68 486D D87C pea.l [A5 - 0x2784]
00000A6C 3F07 move.w -[A7], D7
00000A6E 3F06 move.w -[A7], D6
00000A70 3007 move.w D0, D7
00000A72 D045 add.w D0, D5
00000A74 3F00 move.w -[A7], D0
00000A76 3006 move.w D0, D6
00000A78 D044 add.w D0, D4
00000A7A 3F00 move.w -[A7], D0
00000A7C A8A7 syscall SetRect
00000A7E 3E2C 0044 move.w D7, [A4 + 0x44]
00000A82 3C2C 0046 move.w D6, [A4 + 0x46]
00000A86 486D D884 pea.l [A5 - 0x277C]
00000A8A 3F07 move.w -[A7], D7
00000A8C 3F06 move.w -[A7], D6
00000A8E 3007 move.w D0, D7
00000A90 D045 add.w D0, D5
00000A92 3F00 move.w -[A7], D0
00000A94 3006 move.w D0, D6
00000A96 D044 add.w D0, D4
00000A98 3F00 move.w -[A7], D0
00000A9A A8A7 syscall SetRect
00000A9C 3E2C 0048 move.w D7, [A4 + 0x48]
00000AA0 3C2C 004A move.w D6, [A4 + 0x4A]
00000AA4 486D D88C pea.l [A5 - 0x2774]
00000AA8 3F07 move.w -[A7], D7
00000AAA 3F06 move.w -[A7], D6
00000AAC 3007 move.w D0, D7
00000AAE D045 add.w D0, D5
00000AB0 3F00 move.w -[A7], D0
00000AB2 3006 move.w D0, D6
00000AB4 D044 add.w D0, D4
00000AB6 3F00 move.w -[A7], D0
00000AB8 A8A7 syscall SetRect
00000ABA 3E2C 004C move.w D7, [A4 + 0x4C]
00000ABE DE6C 0028 add.w D7, [A4 + 0x28]
00000AC2 3C2C 004E move.w D6, [A4 + 0x4E]
00000AC6 DC6C 002A add.w D6, [A4 + 0x2A]
00000ACA 486D D894 pea.l [A5 - 0x276C]
00000ACE 3F07 move.w -[A7], D7
00000AD0 3F06 move.w -[A7], D6
00000AD2 3007 move.w D0, D7
00000AD4 D045 add.w D0, D5
00000AD6 3F00 move.w -[A7], D0
00000AD8 3006 move.w D0, D6
00000ADA D044 add.w D0, D4
00000ADC 3F00 move.w -[A7], D0
00000ADE A8A7 syscall SetRect
00000AE0 3E2C 0050 move.w D7, [A4 + 0x50]
00000AE4 DE6C 002C add.w D7, [A4 + 0x2C]
00000AE8 3C2C 0052 move.w D6, [A4 + 0x52]
00000AEC DC6C 002E add.w D6, [A4 + 0x2E]
00000AF0 486D D89C pea.l [A5 - 0x2764]
00000AF4 3F07 move.w -[A7], D7
00000AF6 3F06 move.w -[A7], D6
00000AF8 3007 move.w D0, D7
00000AFA D045 add.w D0, D5
00000AFC 3F00 move.w -[A7], D0
00000AFE 3006 move.w D0, D6
00000B00 D044 add.w D0, D4
00000B02 3F00 move.w -[A7], D0
00000B04 A8A7 syscall SetRect
00000B06 3E2C 0054 move.w D7, [A4 + 0x54]
00000B0A DE6C 0030 add.w D7, [A4 + 0x30]
00000B0E 3C2C 0056 move.w D6, [A4 + 0x56]
00000B12 DC6C 0032 add.w D6, [A4 + 0x32]
00000B16 486D D8A4 pea.l [A5 - 0x275C]
00000B1A 3F07 move.w -[A7], D7
00000B1C 3F06 move.w -[A7], D6
00000B1E 3007 move.w D0, D7
00000B20 D045 add.w D0, D5
00000B22 3F00 move.w -[A7], D0
00000B24 3006 move.w D0, D6
00000B26 D044 add.w D0, D4
00000B28 3F00 move.w -[A7], D0
00000B2A A8A7 syscall SetRect
00000B2C 3E2C 0058 move.w D7, [A4 + 0x58]
00000B30 DE6C 0034 add.w D7, [A4 + 0x34]
00000B34 3C2C 005A move.w D6, [A4 + 0x5A]
00000B38 DC6C 0036 add.w D6, [A4 + 0x36]
00000B3C 486D D8AC pea.l [A5 - 0x2754]
00000B40 3F07 move.w -[A7], D7
00000B42 3F06 move.w -[A7], D6
00000B44 3007 move.w D0, D7
00000B46 D045 add.w D0, D5
00000B48 3F00 move.w -[A7], D0
00000B4A 3006 move.w D0, D6
00000B4C D044 add.w D0, D4
00000B4E 3F00 move.w -[A7], D0
00000B50 A8A7 syscall SetRect
00000B52 486D D8C2 pea.l [A5 - 0x273E]
00000B56 4267 clr.w -[A7]
00000B58 302D D6AE move.w D0, [A5 - 0x2952]
00000B5C 906D D83A sub.w D0, [A5 - 0x27C6]
00000B60 3F00 move.w -[A7], D0
00000B62 3F2D D6AC move.w -[A7], [A5 - 0x2954]
00000B66 3F2D D6AE move.w -[A7], [A5 - 0x2952]
00000B6A A8A7 syscall SetRect
00000B6C 3A2C 0060 move.w D5, [A4 + 0x60]
00000B70 382C 0062 move.w D4, [A4 + 0x62]
00000B74 486D D8CA pea.l [A5 - 0x2736]
00000B78 42A7 clr.l -[A7]
00000B7A 3F05 move.w -[A7], D5
00000B7C 3F04 move.w -[A7], D4
00000B7E A8A7 syscall SetRect
00000B80 3E05 move.w D7, D5
00000B82 3A2C 0064 move.w D5, [A4 + 0x64]
00000B86 9E45 sub.w D7, D5
00000B88 48C7 ext.l D7
00000B8A 8FFC 0002 divs.w D7, 0x2
00000B8E 3C04 move.w D6, D4
00000B90 382C 0066 move.w D4, [A4 + 0x66]
00000B94 9C44 sub.w D6, D4
00000B96 48C6 ext.l D6
00000B98 8DFC 0002 divs.w D6, 0x2
00000B9C 486D D8D2 pea.l [A5 - 0x272E]
00000BA0 3F07 move.w -[A7], D7
00000BA2 3F06 move.w -[A7], D6
00000BA4 3007 move.w D0, D7
00000BA6 D045 add.w D0, D5
00000BA8 3F00 move.w -[A7], D0
00000BAA 3006 move.w D0, D6
00000BAC D044 add.w D0, D4
00000BAE 3F00 move.w -[A7], D0
00000BB0 A8A7 syscall SetRect
00000BB2 4A2D D69F tst.b [A5 - 0x2961]
00000BB6 6720 beq +0x22 /* 00000BD8 */
00000BB8 3B7C 0002 D900 move.w [A5 - 0x2700], 0x2
00000BBE 3B7C 0009 D902 move.w [A5 - 0x26FE], 0x9 /* '\t' */
00000BC4 3B7C 0008 D904 move.w [A5 - 0x26FC], 0x8
00000BCA 3B7C 0004 D906 move.w [A5 - 0x26FA], 0x4
00000BD0 3B7C 000D D908 move.w [A5 - 0x26F8], 0xD /* '\r' */
00000BD6 6018 bra +0x1A /* 00000BF0 */
label00000BD8:
00000BD8 426D D900 clr.w [A5 - 0x2700]
00000BDC 3B7C 0001 D902 move.w [A5 - 0x26FE], 0x1
00000BE2 3B7C 0001 D904 move.w [A5 - 0x26FC], 0x1
00000BE8 426D D906 clr.w [A5 - 0x26FA]
00000BEC 426D D908 clr.w [A5 - 0x26F8]
label00000BF0:
00000BF0 4CDF 18F8 movem.l D3,D4,D5,D6,D7,A3,A4, [A7]+
00000BF4 4E5E unlink A6
00000BF6 4E75 rts
fn00000BF8:
00000BF8 4A2D D69F tst.b [A5 - 0x2961]
00000BFC 6720 beq +0x22 /* 00000C1E */
00000BFE 0C6D 0008 D67C cmpi.w [A5 - 0x2984], 0x8
00000C04 660C bne +0xE /* 00000C12 */
00000C06 3F3C 0008 move.w -[A7], 0x8
00000C0A 4EAD 02B2 jsr [A5 + 0x2B2 /* export_82 */]
00000C0E 548F addq.l A7, 2
00000C10 6016 bra +0x18 /* 00000C28 */
label00000C12:
00000C12 3F3C 0001 move.w -[A7], 0x1
00000C16 4EAD 02B2 jsr [A5 + 0x2B2 /* export_82 */]
00000C1A 548F addq.l A7, 2
00000C1C 600A bra +0xC /* 00000C28 */
label00000C1E:
00000C1E 3F3C 0001 move.w -[A7], 0x1
00000C22 4EAD 02B2 jsr [A5 + 0x2B2 /* export_82 */]
00000C26 548F addq.l A7, 2
label00000C28:
00000C28 4A6D FF60 tst.w [A5 - 0xA0]
00000C2C 6704 beq +0x6 /* 00000C32 */
00000C2E 7000 moveq.l D0, 0x00
00000C30 600C bra +0xE /* 00000C3E */
label00000C32:
00000C32 3F3C 03EB move.w -[A7], 0x3EB
00000C36 4EBA 2042 jsr [PC + 0x2042 /* 00002C7A */]
00000C3A 70FF moveq.l D0, 0xFFFFFFFF
00000C3C 548F addq.l A7, 2
label00000C3E:
00000C3E 4E75 rts
fn00000C40:
00000C40 48E7 0300 movem.l -[A7], D6,D7
00000C44 206D D63C movea.l A0, [A5 - 0x29C4]
00000C48 2F10 move.l -[A7], [A0]
00000C4A A851 syscall SetCursor
00000C4C 486D D5AA pea.l [A5 - 0x2A56]
00000C50 A874 syscall GetPort
00000C52 4A2D D69F tst.b [A5 - 0x2961]
00000C56 673A beq +0x3C /* 00000C92 */
00000C58 42A7 clr.l -[A7]
00000C5A 3F3C 03E8 move.w -[A7], 0x3E8
00000C5E AA18 syscall GetCTable
00000C60 2B5F FF62 move.l [A5 - 0x9E], [A7]+
00000C64 4267 clr.w -[A7]
00000C66 A9AF syscall ResError
00000C68 3C1F move.w D6, [A7]+
00000C6A 4A46 tst.w D6
00000C6C 6600 03BC bne +0x3BE /* 0000102A */
00000C70 206D FF62 movea.l A0, [A5 - 0x9E]
00000C74 A029 syscall HLock
00000C76 42A7 clr.l -[A7]
00000C78 AA28 syscall GetCTSeed
00000C7A 206D FF62 movea.l A0, [A5 - 0x9E]
00000C7E 2050 movea.l A0, [A0]
00000C80 209F move.l [A0], [A7]+
00000C82 206D FF62 movea.l A0, [A5 - 0x9E]
00000C86 2050 movea.l A0, [A0]
00000C88 7001 moveq.l D0, 0x01
00000C8A D068 0006 add.w D0, [A0 + 0x6]
00000C8E 3B40 FF66 move.w [A5 - 0x9A], D0
label00000C92:
00000C92 3B6D D6AC FF74 move.w [A5 - 0x8C], [A5 - 0x2954]
00000C98 3B6D D6AE FF76 move.w [A5 - 0x8A], [A5 - 0x2952]
00000C9E 302D FF60 move.w D0, [A5 - 0xA0]
00000CA2 C1ED FF74 muls.w D0, [A5 - 0x8C]
00000CA6 0640 001F addi.w D0, 0x1F
00000CAA EA40 asr D0.w, 5
00000CAC E548 lsl D0.w, 2
00000CAE 3B40 FF72 move.w [A5 - 0x8E], D0
00000CB2 C1ED FF76 muls.w D0, [A5 - 0x8A]
00000CB6 2B40 FF6E move.l [A5 - 0x92], D0
00000CBA A11E syscall NewPtr, flags=1
00000CBC 2B48 FF6A move.l [A5 - 0x96], A0
00000CC0 3C38 0220 move.w D6, [0x00000220 /* MemErr */]
00000CC4 4A46 tst.w D6
00000CC6 6600 0370 bne +0x372 /* 00001038 */
00000CCA 486D FF78 pea.l [A5 - 0x88]
00000CCE 42A7 clr.l -[A7]
00000CD0 3F2D FF74 move.w -[A7], [A5 - 0x8C]
00000CD4 3F2D FF76 move.w -[A7], [A5 - 0x8A]
00000CD8 A8A7 syscall SetRect
00000CDA 706C moveq.l D0, 0x6C
00000CDC A11E syscall NewPtr, flags=1
00000CDE 2B48 FF80 move.l [A5 - 0x80], A0
00000CE2 3C38 0220 move.w D6, [0x00000220 /* MemErr */]
00000CE6 4A46 tst.w D6
00000CE8 6600 034E bne +0x350 /* 00001038 */
00000CEC 4A2D D69F tst.b [A5 - 0x2961]
00000CF0 6766 beq +0x68 /* 00000D58 */
00000CF2 42A7 clr.l -[A7]
00000CF4 AA32 syscall GetGDevice
00000CF6 2B5F D5AE move.l [A5 - 0x2A52], [A7]+
00000CFA 2F2D D68E move.l -[A7], [A5 - 0x2972]
00000CFE AA31 syscall SetGDevice
00000D00 2F2D FF80 move.l -[A7], [A5 - 0x80]
00000D04 AA00 syscall OpenCPort
00000D06 206D FF80 movea.l A0, [A5 - 0x80]
00000D0A 2068 0002 movea.l A0, [A0 + 0x2]
00000D0E 2050 movea.l A0, [A0]
00000D10 20AD FF6A move.l [A0], [A5 - 0x96]
00000D14 302D FF72 move.w D0, [A5 - 0x8E]
00000D18 0040 8000 ori.w D0, 0x8000
00000D1C 206D FF80 movea.l A0, [A5 - 0x80]
00000D20 2068 0002 movea.l A0, [A0 + 0x2]
00000D24 2050 movea.l A0, [A0]
00000D26 3140 0004 move.w [A0 + 0x4], D0
00000D2A 206D FF80 movea.l A0, [A5 - 0x80]
00000D2E 2068 0002 movea.l A0, [A0 + 0x2]
00000D32 2050 movea.l A0, [A0]
00000D34 216D FF78 0006 move.l [A0 + 0x6], [A5 - 0x88]
00000D3A 216D FF7C 000A move.l [A0 + 0xA], [A5 - 0x84]
00000D40 206D FF80 movea.l A0, [A5 - 0x80]
00000D44 2068 0002 movea.l A0, [A0 + 0x2]
00000D48 2050 movea.l A0, [A0]
00000D4A 216D FF62 002A move.l [A0 + 0x2A], [A5 - 0x9E]
00000D50 2F2D D5AE move.l -[A7], [A5 - 0x2A52]
00000D54 AA31 syscall SetGDevice
00000D56 602A bra +0x2C /* 00000D82 */
label00000D58:
00000D58 2F2D FF80 move.l -[A7], [A5 - 0x80]
00000D5C A86F syscall OpenPort
00000D5E 206D FF80 movea.l A0, [A5 - 0x80]
00000D62 216D FF6A 0002 move.l [A0 + 0x2], [A5 - 0x96]
00000D68 206D FF80 movea.l A0, [A5 - 0x80]
00000D6C 316D FF72 0006 move.w [A0 + 0x6], [A5 - 0x8E]
00000D72 206D FF80 movea.l A0, [A5 - 0x80]
00000D76 216D FF78 0008 move.l [A0 + 0x8], [A5 - 0x88]
00000D7C 216D FF7C 000C move.l [A0 + 0xC], [A5 - 0x84]
label00000D82:
00000D82 206D FF80 movea.l A0, [A5 - 0x80]
00000D86 216D FF78 0010 move.l [A0 + 0x10], [A5 - 0x88]
00000D8C 216D FF7C 0014 move.l [A0 + 0x14], [A5 - 0x84]
00000D92 206D FF80 movea.l A0, [A5 - 0x80]
00000D96 2F28 0018 move.l -[A7], [A0 + 0x18]
00000D9A 486D FF78 pea.l [A5 - 0x88]
00000D9E A8DF syscall RectRgn
00000DA0 486D FF78 pea.l [A5 - 0x88]
00000DA4 A87B syscall ClipRect
00000DA6 4878 001E push.l 0x1E
00000DAA A863 syscall BackColor
00000DAC 4878 0021 push.l 0x21 /* '!' */
00000DB0 A862 syscall ForeColor
00000DB2 486D FF78 pea.l [A5 - 0x88]
00000DB6 A8A2 syscall PaintRect
00000DB8 3B7C 0C80 FF8E move.w [A5 - 0x72], 0xC80
00000DBE 3B7C 0140 FF90 move.w [A5 - 0x70], 0x140
00000DC4 302D FF60 move.w D0, [A5 - 0xA0]
00000DC8 C1ED FF8E muls.w D0, [A5 - 0x72]
00000DCC 0640 001F addi.w D0, 0x1F
00000DD0 EA40 asr D0.w, 5
00000DD2 E548 lsl D0.w, 2
00000DD4 3B40 FF8C move.w [A5 - 0x74], D0
00000DD8 C1ED FF90 muls.w D0, [A5 - 0x70]
00000DDC 2B40 FF88 move.l [A5 - 0x78], D0
00000DE0 4A2D D69F tst.b [A5 - 0x2961]
00000DE4 6706 beq +0x8 /* 00000DEC */
00000DE6 2E2D FF88 move.l D7, [A5 - 0x78]
00000DEA 6006 bra +0x8 /* 00000DF2 */
label00000DEC:
00000DEC 2E2D FF88 move.l D7, [A5 - 0x78]
00000DF0 DE87 add.l D7, D7
label00000DF2:
00000DF2 2007 move.l D0, D7
00000DF4 A11E syscall NewPtr, flags=1
00000DF6 2B48 FF84 move.l [A5 - 0x7C], A0
00000DFA 3C38 0220 move.w D6, [0x00000220 /* MemErr */]
00000DFE 4A46 tst.w D6
00000E00 6600 0236 bne +0x238 /* 00001038 */
00000E04 486D FF92 pea.l [A5 - 0x6E]
00000E08 42A7 clr.l -[A7]
00000E0A 3F2D FF8E move.w -[A7], [A5 - 0x72]
00000E0E 3F2D FF90 move.w -[A7], [A5 - 0x70]
00000E12 A8A7 syscall SetRect
00000E14 706C moveq.l D0, 0x6C
00000E16 A11E syscall NewPtr, flags=1
00000E18 2B48 FF9A move.l [A5 - 0x66], A0
00000E1C 3C38 0220 move.w D6, [0x00000220 /* MemErr */]
00000E20 4A46 tst.w D6
00000E22 6600 0214 bne +0x216 /* 00001038 */
00000E26 4A2D D69F tst.b [A5 - 0x2961]
00000E2A 6766 beq +0x68 /* 00000E92 */
00000E2C 42A7 clr.l -[A7]
00000E2E AA32 syscall GetGDevice
00000E30 2B5F D5AE move.l [A5 - 0x2A52], [A7]+
00000E34 2F2D D68E move.l -[A7], [A5 - 0x2972]
00000E38 AA31 syscall SetGDevice
00000E3A 2F2D FF9A move.l -[A7], [A5 - 0x66]
00000E3E AA00 syscall OpenCPort
00000E40 206D FF9A movea.l A0, [A5 - 0x66]
00000E44 2068 0002 movea.l A0, [A0 + 0x2]
00000E48 2050 movea.l A0, [A0]
00000E4A 20AD FF84 move.l [A0], [A5 - 0x7C]
00000E4E 302D FF8C move.w D0, [A5 - 0x74]
00000E52 0040 8000 ori.w D0, 0x8000
00000E56 206D FF9A movea.l A0, [A5 - 0x66]
00000E5A 2068 0002 movea.l A0, [A0 + 0x2]
00000E5E 2050 movea.l A0, [A0]
00000E60 3140 0004 move.w [A0 + 0x4], D0
00000E64 206D FF9A movea.l A0, [A5 - 0x66]
00000E68 2068 0002 movea.l A0, [A0 + 0x2]
00000E6C 2050 movea.l A0, [A0]
00000E6E 216D FF92 0006 move.l [A0 + 0x6], [A5 - 0x6E]
00000E74 216D FF96 000A move.l [A0 + 0xA], [A5 - 0x6A]
00000E7A 206D FF9A movea.l A0, [A5 - 0x66]
00000E7E 2068 0002 movea.l A0, [A0 + 0x2]
00000E82 2050 movea.l A0, [A0]
00000E84 216D FF62 002A move.l [A0 + 0x2A], [A5 - 0x9E]
00000E8A 2F2D D5AE move.l -[A7], [A5 - 0x2A52]
00000E8E AA31 syscall SetGDevice
00000E90 602A bra +0x2C /* 00000EBC */
label00000E92:
00000E92 2F2D FF9A move.l -[A7], [A5 - 0x66]
00000E96 A86F syscall OpenPort
00000E98 206D FF9A movea.l A0, [A5 - 0x66]
00000E9C 216D FF84 0002 move.l [A0 + 0x2], [A5 - 0x7C]
00000EA2 206D FF9A movea.l A0, [A5 - 0x66]
00000EA6 316D FF8C 0006 move.w [A0 + 0x6], [A5 - 0x74]
00000EAC 206D FF9A movea.l A0, [A5 - 0x66]
00000EB0 216D FF92 0008 move.l [A0 + 0x8], [A5 - 0x6E]
00000EB6 216D FF96 000C move.l [A0 + 0xC], [A5 - 0x6A]
label00000EBC:
00000EBC 206D FF9A movea.l A0, [A5 - 0x66]
00000EC0 216D FF92 0010 move.l [A0 + 0x10], [A5 - 0x6E]
00000EC6 216D FF96 0014 move.l [A0 + 0x14], [A5 - 0x6A]
00000ECC 206D FF9A movea.l A0, [A5 - 0x66]
00000ED0 2F28 0018 move.l -[A7], [A0 + 0x18]
00000ED4 486D FF92 pea.l [A5 - 0x6E]
00000ED8 A8DF syscall RectRgn
00000EDA 486D FF92 pea.l [A5 - 0x6E]
00000EDE A87B syscall ClipRect
00000EE0 4878 001E push.l 0x1E
00000EE4 A863 syscall BackColor
00000EE6 4878 0021 push.l 0x21 /* '!' */
00000EEA A862 syscall ForeColor
00000EEC 486D FF92 pea.l [A5 - 0x6E]
00000EF0 A8A2 syscall PaintRect
00000EF2 302D D6E8 move.w D0, [A5 - 0x2918]
00000EF6 906D D6E4 sub.w D0, [A5 - 0x291C]
00000EFA 3B40 FFA8 move.w [A5 - 0x58], D0
00000EFE 322D D6E6 move.w D1, [A5 - 0x291A]
00000F02 926D D6E2 sub.w D1, [A5 - 0x291E]
00000F06 3B41 FFAA move.w [A5 - 0x56], D1
00000F0A C1ED FF60 muls.w D0, [A5 - 0xA0]
00000F0E 0640 001F addi.w D0, 0x1F
00000F12 EA40 asr D0.w, 5
00000F14 E548 lsl D0.w, 2
00000F16 3B40 FFA6 move.w [A5 - 0x5A], D0
00000F1A C1C1 muls.w D0, D1
00000F1C 2B40 FFA2 move.l [A5 - 0x5E], D0
00000F20 A11E syscall NewPtr, flags=1
00000F22 2B48 FF9E move.l [A5 - 0x62], A0
00000F26 3C38 0220 move.w D6, [0x00000220 /* MemErr */]
00000F2A 4A46 tst.w D6
00000F2C 6600 010A bne +0x10C /* 00001038 */
00000F30 486D FFAC pea.l [A5 - 0x54]
00000F34 42A7 clr.l -[A7]
00000F36 3F2D FFA8 move.w -[A7], [A5 - 0x58]
00000F3A 3F2D FFAA move.w -[A7], [A5 - 0x56]
00000F3E A8A7 syscall SetRect
00000F40 706C moveq.l D0, 0x6C
00000F42 A11E syscall NewPtr, flags=1
00000F44 2B48 FFB4 move.l [A5 - 0x4C], A0
00000F48 3C38 0220 move.w D6, [0x00000220 /* MemErr */]
00000F4C 4A46 tst.w D6
00000F4E 6600 00E8 bne +0xEA /* 00001038 */
00000F52 4A2D D69F tst.b [A5 - 0x2961]
00000F56 6766 beq +0x68 /* 00000FBE */
00000F58 42A7 clr.l -[A7]
00000F5A AA32 syscall GetGDevice
00000F5C 2B5F D5AE move.l [A5 - 0x2A52], [A7]+
00000F60 2F2D D68E move.l -[A7], [A5 - 0x2972]
00000F64 AA31 syscall SetGDevice
00000F66 2F2D FFB4 move.l -[A7], [A5 - 0x4C]
00000F6A AA00 syscall OpenCPort
00000F6C 206D FFB4 movea.l A0, [A5 - 0x4C]
00000F70 2068 0002 movea.l A0, [A0 + 0x2]
00000F74 2050 movea.l A0, [A0]
00000F76 20AD FF9E move.l [A0], [A5 - 0x62]
00000F7A 302D FFA6 move.w D0, [A5 - 0x5A]
00000F7E 0040 8000 ori.w D0, 0x8000
00000F82 206D FFB4 movea.l A0, [A5 - 0x4C]
00000F86 2068 0002 movea.l A0, [A0 + 0x2]
00000F8A 2050 movea.l A0, [A0]
00000F8C 3140 0004 move.w [A0 + 0x4], D0
00000F90 206D FFB4 movea.l A0, [A5 - 0x4C]
00000F94 2068 0002 movea.l A0, [A0 + 0x2]
00000F98 2050 movea.l A0, [A0]
00000F9A 216D FFAC 0006 move.l [A0 + 0x6], [A5 - 0x54]
00000FA0 216D FFB0 000A move.l [A0 + 0xA], [A5 - 0x50]
00000FA6 206D FFB4 movea.l A0, [A5 - 0x4C]
00000FAA 2068 0002 movea.l A0, [A0 + 0x2]
00000FAE 2050 movea.l A0, [A0]
00000FB0 216D FF62 002A move.l [A0 + 0x2A], [A5 - 0x9E]
00000FB6 2F2D D5AE move.l -[A7], [A5 - 0x2A52]
00000FBA AA31 syscall SetGDevice
00000FBC 602A bra +0x2C /* 00000FE8 */
label00000FBE:
00000FBE 2F2D FFB4 move.l -[A7], [A5 - 0x4C]
00000FC2 A86F syscall OpenPort
00000FC4 206D FFB4 movea.l A0, [A5 - 0x4C]
00000FC8 216D FF9E 0002 move.l [A0 + 0x2], [A5 - 0x62]
00000FCE 206D FFB4 movea.l A0, [A5 - 0x4C]
00000FD2 316D FFA6 0006 move.w [A0 + 0x6], [A5 - 0x5A]
00000FD8 206D FFB4 movea.l A0, [A5 - 0x4C]
00000FDC 216D FFAC 0008 move.l [A0 + 0x8], [A5 - 0x54]
00000FE2 216D FFB0 000C move.l [A0 + 0xC], [A5 - 0x50]
label00000FE8:
00000FE8 206D FFB4 movea.l A0, [A5 - 0x4C]
00000FEC 216D FFAC 0010 move.l [A0 + 0x10], [A5 - 0x54]
00000FF2 216D FFB0 0014 move.l [A0 + 0x14], [A5 - 0x50]
00000FF8 206D FFB4 movea.l A0, [A5 - 0x4C]
00000FFC 2F28 0018 move.l -[A7], [A0 + 0x18]
00001000 486D FFAC pea.l [A5 - 0x54]
00001004 A8DF syscall RectRgn
00001006 486D FFAC pea.l [A5 - 0x54]
0000100A A87B syscall ClipRect
0000100C 4878 001E push.l 0x1E
00001010 A863 syscall BackColor
00001012 4878 0021 push.l 0x21 /* '!' */
00001016 A862 syscall ForeColor
00001018 486D FFAC pea.l [A5 - 0x54]
0000101C A8A2 syscall PaintRect
0000101E 2F2D D5AA move.l -[A7], [A5 - 0x2A56]
00001022 A873 syscall SetPort
00001024 A850 syscall InitCursor
00001026 7000 moveq.l D0, 0x00
00001028 601A bra +0x1C /* 00001044 */
label0000102A:
0000102A 3F3C 03EA move.w -[A7], 0x3EA
0000102E 4EBA 1C4A jsr [PC + 0x1C4A /* 00002C7A */]
00001032 70FF moveq.l D0, 0xFFFFFFFF
00001034 548F addq.l A7, 2
00001036 600C bra +0xE /* 00001044 */
label00001038:
00001038 3F3C 03EC move.w -[A7], 0x3EC
0000103C 4EBA 1C3C jsr [PC + 0x1C3C /* 00002C7A */]
00001040 70FF moveq.l D0, 0xFFFFFFFF
00001042 548F addq.l A7, 2
label00001044:
00001044 4CDF 00C0 movem.l D6,D7, [A7]+
00001048 4E75 rts
fn0000104A:
0000104A 4E56 FFF8 link A6, -0x0008
0000104E 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
00001052 3E2D D68A move.w D7, [A5 - 0x2976]
00001056 9E6D D6AC sub.w D7, [A5 - 0x2954]
0000105A 48C7 ext.l D7
0000105C 8FFC 0002 divs.w D7, 0x2
00001060 CE6D D67E and.w D7, [A5 - 0x2982]
00001064 3C2D D68C move.w D6, [A5 - 0x2974]
00001068 9C6D D6AE sub.w D6, [A5 - 0x2952]
0000106C 48C6 ext.l D6
0000106E 8DFC 0002 divs.w D6, 0x2
00001072 2D6D D682 FFF8 move.l [A6 - 0x8], [A5 - 0x297E]
00001078 2D6D D686 FFFC move.l [A6 - 0x4], [A5 - 0x297A]
0000107E 4A2D D69F tst.b [A5 - 0x2961]
00001082 6722 beq +0x24 /* 000010A6 */
00001084 42A7 clr.l -[A7]
00001086 42A7 clr.l -[A7]
00001088 486E FFF8 pea.l [A6 - 0x8]
0000108C 486D CE9A pea.l [A5 - 0x3166]
00001090 2F3C 0002 0100 move.l -[A7], 0x20100
00001096 4878 FFFF push.l 0xFFFF
0000109A 4227 clr.b -[A7]
0000109C 42A7 clr.l -[A7]
0000109E AA45 syscall NewCWindow
000010A0 2B5F D6A6 move.l [A5 - 0x295A], [A7]+
000010A4 6020 bra +0x22 /* 000010C6 */
label000010A6:
000010A6 42A7 clr.l -[A7]
000010A8 42A7 clr.l -[A7]
000010AA 486E FFF8 pea.l [A6 - 0x8]
000010AE 486D CE9A pea.l [A5 - 0x3166]
000010B2 2F3C 0002 0100 move.l -[A7], 0x20100
000010B8 4878 FFFF push.l 0xFFFF
000010BC 4227 clr.b -[A7]
000010BE 42A7 clr.l -[A7]
000010C0 A913 syscall NewWindow
000010C2 2B5F D6A6 move.l [A5 - 0x295A], [A7]+
label000010C6:
000010C6 4AAD D6A6 tst.l [A5 - 0x295A]
000010CA 6700 0194 beq +0x196 /* 00001260 */
000010CE 2F2D D6A6 move.l -[A7], [A5 - 0x295A]
000010D2 A873 syscall SetPort
000010D4 4878 001E push.l 0x1E
000010D8 A863 syscall BackColor
000010DA 4878 0021 push.l 0x21 /* '!' */
000010DE A862 syscall ForeColor
000010E0 3007 move.w D0, D7
000010E2 4440 neg.w D0
000010E4 3F00 move.w -[A7], D0
000010E6 3006 move.w D0, D6
000010E8 4440 neg.w D0
000010EA 3F00 move.w -[A7], D0
000010EC A878 syscall SetOrigin
000010EE 486D D6B8 pea.l [A5 - 0x2948]
000010F2 42A7 clr.l -[A7]
000010F4 3F2D D68A move.w -[A7], [A5 - 0x2976]
000010F8 3F2D D68C move.w -[A7], [A5 - 0x2974]
000010FC A8A7 syscall SetRect
000010FE 486D D6B8 pea.l [A5 - 0x2948]
00001102 3007 move.w D0, D7
00001104 4440 neg.w D0
00001106 3F00 move.w -[A7], D0
00001108 3006 move.w D0, D6
0000110A 4440 neg.w D0
0000110C 3F00 move.w -[A7], D0
0000110E A8A8 syscall OffsetRect
00001110 42A7 clr.l -[A7]
00001112 A8D8 syscall NewRgn
00001114 2B5F D6C0 move.l [A5 - 0x2940], [A7]+
00001118 2F2D D6C0 move.l -[A7], [A5 - 0x2940]
0000111C 486D D6B8 pea.l [A5 - 0x2948]
00001120 A8DF syscall RectRgn
00001122 42A7 clr.l -[A7]
00001124 A8D8 syscall NewRgn
00001126 285F movea.l A4, [A7]+
00001128 2F0C move.l -[A7], A4
0000112A 486D D6B0 pea.l [A5 - 0x2950]
0000112E A8DF syscall RectRgn
00001130 2F2D D6C0 move.l -[A7], [A5 - 0x2940]
00001134 2F0C move.l -[A7], A4
00001136 2F2D D6C0 move.l -[A7], [A5 - 0x2940]
0000113A A8E6 syscall DiffRgn
0000113C 2F0C move.l -[A7], A4
0000113E A8D9 syscall DisposRgn/DisposeRgn
00001140 486D D6B8 pea.l [A5 - 0x2948]
00001144 A8A2 syscall PaintRect
00001146 1B7C 0001 D6A0 move.b [A5 - 0x2960], 0x1
0000114C 4A2D D69F tst.b [A5 - 0x2961]
00001150 6700 0100 beq +0x102 /* 00001252 */
00001154 42A7 clr.l -[A7]
00001156 2F2D FF62 move.l -[A7], [A5 - 0x9E]
0000115A 4EBA 293E jsr [PC + 0x293E /* 00003A9A */]
0000115E 2A1F move.l D5, [A7]+
00001160 2005 move.l D0, D5
00001162 A122 syscall NewHandle, flags=1
00001164 2B48 D6C8 move.l [A5 - 0x2938], A0
00001168 2F05 move.l -[A7], D5
0000116A 2F10 move.l -[A7], [A0]
0000116C 226D FF62 movea.l A1, [A5 - 0x9E]
00001170 2F11 move.l -[A7], [A1]
00001172 4EBA 1794 jsr [PC + 0x1794 /* 00002908 */]
00001176 3B6D FF66 D6CC move.w [A5 - 0x2934], [A5 - 0x9A]
0000117C 4297 clr.l [A7]
0000117E 3F2D D6CC move.w -[A7], [A5 - 0x2934]
00001182 2F2D D6C8 move.l -[A7], [A5 - 0x2938]
00001186 4878 0002 push.l 0x2
0000118A AA91 syscall NewPalette
0000118C 2B5F D6C4 move.l [A5 - 0x293C], [A7]+
00001190 4AAD D6C4 tst.l [A5 - 0x293C]
00001194 508F addq.l A7, 8
00001196 6700 00C8 beq +0xCA /* 00001260 */
0000119A 2F2D D6A6 move.l -[A7], [A5 - 0x295A]
0000119E 2F2D D6C4 move.l -[A7], [A5 - 0x293C]
000011A2 1F3C 0001 move.b -[A7], 0x1
000011A6 AA95 syscall SetPalette/NSetPalette
000011A8 3B7C 0100 DF54 move.w [A5 - 0x20AC], 0x100
000011AE 1B7C 0001 D6A1 move.b [A5 - 0x295F], 0x1
000011B4 703E moveq.l D0, 0x3E
000011B6 A322 syscall NewHandleClear, flags=3
000011B8 2B48 D6CE move.l [A5 - 0x2932], A0
000011BC 2008 move.l D0, A0
000011BE 6700 00A0 beq +0xA2 /* 00001260 */
000011C2 7008 moveq.l D0, 0x08
000011C4 A322 syscall NewHandleClear, flags=3
000011C6 2648 movea.l A3, A0
000011C8 200B move.l D0, A3
000011CA 6700 0094 beq +0x96 /* 00001260 */
000011CE 206D D6CE movea.l A0, [A5 - 0x2932]
000011D2 2050 movea.l A0, [A0]
000011D4 4268 0004 clr.w [A0 + 0x4]
000011D8 206D D6CE movea.l A0, [A5 - 0x2932]
000011DC 2050 movea.l A0, [A0]
000011DE 214B 0006 move.l [A0 + 0x6], A3
000011E2 206D D6CE movea.l A0, [A5 - 0x2932]
000011E6 2050 movea.l A0, [A0]
000011E8 317C 0004 000A move.w [A0 + 0xA], 0x4
000011EE 206D D6A6 movea.l A0, [A5 - 0x295A]
000011F2 226D D6CE movea.l A1, [A5 - 0x2932]
000011F6 2251 movea.l A1, [A1]
000011F8 2368 0002 0016 move.l [A1 + 0x16], [A0 + 0x2]
000011FE 206D D6CE movea.l A0, [A5 - 0x2932]
00001202 2050 movea.l A0, [A0]
00001204 216D D6B8 0022 move.l [A0 + 0x22], [A5 - 0x2948]
0000120A 216D D6BC 0026 move.l [A0 + 0x26], [A5 - 0x2944]
00001210 206D D6CE movea.l A0, [A5 - 0x2932]
00001214 2050 movea.l A0, [A0]
00001216 70FF moveq.l D0, 0xFFFFFFFF
00001218 2140 002A move.l [A0 + 0x2A], D0
0000121C 2F2D D6CE move.l -[A7], [A5 - 0x2932]
00001220 2F3C 0100 0000 move.l -[A7], 0x1000000
00001226 AA2D syscall SetDeviceAttribute
00001228 2F2D D6CE move.l -[A7], [A5 - 0x2932]
0000122C 2F3C 0100 000E move.l -[A7], 0x100000E
00001232 AA2D syscall SetDeviceAttribute
00001234 2F2D D6C8 move.l -[A7], [A5 - 0x2938]
00001238 206D D6CE movea.l A0, [A5 - 0x2932]
0000123C 2050 movea.l A0, [A0]
0000123E 2F28 0006 move.l -[A7], [A0 + 0x6]
00001242 3F3C 0004 move.w -[A7], 0x4
00001246 AA39 syscall MakeITable
00001248 4267 clr.w -[A7]
0000124A AA40 syscall QDError
0000124C 381F move.w D4, [A7]+
0000124E 4A44 tst.w D4
00001250 660E bne +0x10 /* 00001260 */
label00001252:
00001252 4A2D D677 tst.b [A5 - 0x2989]
00001256 6704 beq +0x6 /* 0000125C */
00001258 422D D6A1 clr.b [A5 - 0x295F]
label0000125C:
0000125C 7000 moveq.l D0, 0x00
0000125E 600A bra +0xC /* 0000126A */
label00001260:
00001260 3F3C 03EC move.w -[A7], 0x3EC
00001264 4EBA 1A14 jsr [PC + 0x1A14 /* 00002C7A */]
00001268 70FF moveq.l D0, 0xFFFFFFFF
label0000126A:
0000126A 4CEE 18F0 FFE0 movem.l D4,D5,D6,D7,A3,A4, [A6 - 0x20]
00001270 4E5E unlink A6
00001272 4E75 rts
fn00001274:
00001274 4E56 FFF4 link A6, -0x000C
00001278 48E7 0118 movem.l -[A7], D7,A3,A4
0000127C 3B7C 0190 DFB8 move.w [A5 - 0x2048], 0x190
00001282 3B7C 0028 DFBA move.w [A5 - 0x2046], 0x28 /* '(' */
00001288 302D DFB8 move.w D0, [A5 - 0x2048]
0000128C C1ED DFBA muls.w D0, [A5 - 0x2046]
00001290 2B40 DFB0 move.l [A5 - 0x2050], D0
00001294 A11E syscall NewPtr, flags=1
00001296 2B48 DFB4 move.l [A5 - 0x204C], A0
0000129A 3E38 0220 move.w D7, [0x00000220 /* MemErr */]
0000129E 4A47 tst.w D7
000012A0 6600 00AE bne +0xB0 /* 00001350 */
000012A4 47ED CE6A lea.l A3, [A5 - 0x3196]
000012A8 4267 clr.w -[A7]
000012AA 486D CE6A pea.l [A5 - 0x3196]
000012AE 3F2D D5D2 move.w -[A7], [A5 - 0x2A2E]
000012B2 4227 clr.b -[A7]
000012B4 A9C4 syscall OpenRFPerm
000012B6 3B5F D61A move.w [A5 - 0x29E6], [A7]+
000012BA 4267 clr.w -[A7]
000012BC A9AF syscall ResError
000012BE 3E1F move.w D7, [A7]+
000012C0 4A47 tst.w D7
000012C2 6600 00A4 bne +0xA6 /* 00001368 */
000012C6 42A7 clr.l -[A7]
000012C8 2F3C 4C45 5653 move.l -[A7], 0x4C455653 /* 'LEVS' */
000012CE 4EBA 193A jsr [PC + 0x193A /* 00002C0A */]
000012D2 2840 movea.l A4, D0
000012D4 200C move.l D0, A4
000012D6 508F addq.l A7, 8
000012D8 6700 0082 beq +0x84 /* 0000135C */
000012DC 4878 0014 push.l 0x14
000012E0 486D E012 pea.l [A5 - 0x1FEE]
000012E4 2F0C move.l -[A7], A4
000012E6 4EBA 1620 jsr [PC + 0x1620 /* 00002908 */]
000012EA 2E8C move.l [A7], A4
000012EC 4EBA 1966 jsr [PC + 0x1966 /* 00002C54 */]
000012F0 4A2D D69F tst.b [A5 - 0x2961]
000012F4 4FEF 000C lea.l A7, [A7 + 0xC]
000012F8 670A beq +0xC /* 00001304 */
000012FA 41ED CE72 lea.l A0, [A5 - 0x318E]
000012FE 2B48 D61C move.l [A5 - 0x29E4], A0
00001302 6008 bra +0xA /* 0000130C */
label00001304:
00001304 41ED CE7C lea.l A0, [A5 - 0x3184]
00001308 2B48 D61C move.l [A5 - 0x29E4], A0
label0000130C:
0000130C 266D D61C movea.l A3, [A5 - 0x29E4]
00001310 4267 clr.w -[A7]
00001312 2F2D D61C move.l -[A7], [A5 - 0x29E4]
00001316 3F2D D5D2 move.w -[A7], [A5 - 0x2A2E]
0000131A 4227 clr.b -[A7]
0000131C A9C4 syscall OpenRFPerm
0000131E 3B5F D620 move.w [A5 - 0x29E0], [A7]+
00001322 4267 clr.w -[A7]
00001324 A9AF syscall ResError
00001326 3E1F move.w D7, [A7]+
00001328 4A47 tst.w D7
0000132A 663C bne +0x3E /* 00001368 */
0000132C 47ED CE8A lea.l A3, [A5 - 0x3176]
00001330 4267 clr.w -[A7]
00001332 486D CE8A pea.l [A5 - 0x3176]
00001336 3F2D D5D2 move.w -[A7], [A5 - 0x2A2E]
0000133A 4227 clr.b -[A7]
0000133C A9C4 syscall OpenRFPerm
0000133E 3B5F D622 move.w [A5 - 0x29DE], [A7]+
00001342 4267 clr.w -[A7]
00001344 A9AF syscall ResError
00001346 3E1F move.w D7, [A7]+
00001348 4A47 tst.w D7
0000134A 661C bne +0x1E /* 00001368 */
0000134C 7000 moveq.l D0, 0x00
0000134E 603A bra +0x3C /* 0000138A */
label00001350:
00001350 3F3C 03EC move.w -[A7], 0x3EC
00001354 4EBA 1924 jsr [PC + 0x1924 /* 00002C7A */]
00001358 70FF moveq.l D0, 0xFFFFFFFF
0000135A 602E bra +0x30 /* 0000138A */
label0000135C:
0000135C 3F3C 03EA move.w -[A7], 0x3EA
00001360 4EBA 1918 jsr [PC + 0x1918 /* 00002C7A */]
00001364 70FF moveq.l D0, 0xFFFFFFFF
00001366 6022 bra +0x24 /* 0000138A */
label00001368:
00001368 3047 movea.w A0, D7
0000136A 2F08 move.l -[A7], A0
0000136C 486E FFF4 pea.l [A6 - 0xC]
00001370 4EBA 28EE jsr [PC + 0x28EE /* 00003C60 */]
00001374 486E FFF4 pea.l [A6 - 0xC]
00001378 2F0B move.l -[A7], A3
0000137A 42A7 clr.l -[A7]
0000137C 42A7 clr.l -[A7]
0000137E A98B syscall ParamText
00001380 3F3C 03ED move.w -[A7], 0x3ED
00001384 4EBA 18F4 jsr [PC + 0x18F4 /* 00002C7A */]
00001388 70FF moveq.l D0, 0xFFFFFFFF
label0000138A:
0000138A 4CEE 1880 FFE8 movem.l D7,A3,A4, [A6 - 0x18]
00001390 4E5E unlink A6
00001392 4E75 rts
fn00001394:
00001394 4EBA 2054 jsr [PC + 0x2054 /* 000033EA */]
00001398 A850 syscall InitCursor
0000139A 4AAD D648 tst.l [A5 - 0x29B8]
0000139E 6706 beq +0x8 /* 000013A6 */
000013A0 2F2D D648 move.l -[A7], [A5 - 0x29B8]
000013A4 AA26 syscall DisposeCCursor/DisposCCursor
label000013A6:
000013A6 4AAD D64C tst.l [A5 - 0x29B4]
000013AA 6706 beq +0x8 /* 000013B2 */
000013AC 2F2D D64C move.l -[A7], [A5 - 0x29B4]
000013B0 AA26 syscall DisposeCCursor/DisposCCursor
label000013B2:
000013B2 486D D5AA pea.l [A5 - 0x2A56]
000013B6 A874 syscall GetPort
000013B8 4AAD D6A6 tst.l [A5 - 0x295A]
000013BC 670C beq +0xE /* 000013CA */
000013BE 2F2D D6A6 move.l -[A7], [A5 - 0x295A]
000013C2 A873 syscall SetPort
000013C4 486D D6B8 pea.l [A5 - 0x2948]
000013C8 A8A2 syscall PaintRect
label000013CA:
000013CA 2F2D D5AA move.l -[A7], [A5 - 0x2A56]
000013CE A873 syscall SetPort
000013D0 4EBA 17B6 jsr [PC + 0x17B6 /* 00002B88 */]
000013D4 2F3C 0000 FFFF move.l -[A7], 0xFFFF
000013DA 201F move.l D0, [A7]+
000013DC A032 syscall FlushEvents
000013DE 4E75 rts
fn000013E0:
000013E0 4E56 FFFC link A6, -0x0004
000013E4 2B6D D65A D662 move.l [A5 - 0x299E], [A5 - 0x29A6]
000013EA 486D D662 pea.l [A5 - 0x299E]
000013EE A871 syscall GlobalToLocal
000013F0 4227 clr.b -[A7]
000013F2 2F2D D662 move.l -[A7], [A5 - 0x299E]
000013F6 486D D6B0 pea.l [A5 - 0x2950]
000013FA A8AD syscall PtInRect
000013FC 1B5F D660 move.b [A5 - 0x29A0], [A7]+
00001400 422D D668 clr.b [A5 - 0x2998]
00001404 422D D669 clr.b [A5 - 0x2997]
00001408 422D D674 clr.b [A5 - 0x298C]
0000140C 082D 0001 D65E btst.b [A5 - 0x29A2], 0x1
00001412 6704 beq +0x6 /* 00001418 */
00001414 7001 moveq.l D0, 0x01
00001416 6002 bra +0x4 /* 0000141A */
label00001418:
00001418 7000 moveq.l D0, 0x00
label0000141A:
0000141A 1B40 D677 move.b [A5 - 0x2989], D0
0000141E 082D 0002 D65E btst.b [A5 - 0x29A2], 0x2
00001424 6704 beq +0x6 /* 0000142A */
00001426 7001 moveq.l D0, 0x01
00001428 6002 bra +0x4 /* 0000142C */
label0000142A:
0000142A 7000 moveq.l D0, 0x00
label0000142C:
0000142C 1B40 D678 move.b [A5 - 0x2988], D0
00001430 082D 0004 D65E btst.b [A5 - 0x29A2], 0x4
00001436 6704 beq +0x6 /* 0000143C */
00001438 7001 moveq.l D0, 0x01
0000143A 6002 bra +0x4 /* 0000143E */
label0000143C:
0000143C 7000 moveq.l D0, 0x00
label0000143E:
0000143E 1B40 D679 move.b [A5 - 0x2987], D0
00001442 082D 0003 D65E btst.b [A5 - 0x29A2], 0x3
00001448 6704 beq +0x6 /* 0000144E */
0000144A 7001 moveq.l D0, 0x01
0000144C 6002 bra +0x4 /* 00001450 */
label0000144E:
0000144E 7000 moveq.l D0, 0x00
label00001450:
00001450 1B40 D67A move.b [A5 - 0x2986], D0
00001454 322D D650 move.w D1, [A5 - 0x29B0]
00001458 0C41 000F cmpi.w D1, 0xF
0000145C 6200 01B6 bhi +0x1B8 /* 00001614 */
00001460 43FA 01C4 lea.l A1, [PC + 0x1C4 /* 00001626, value 0xFE46FE64 */]
00001464 D241 add.w D1, D1
00001466 D2F1 1000 add.w A1, [A1 + D1.w]
0000146A 4ED1 jmp [A1]
0000146C 4A2D D66B tst.b [A5 - 0x2995]
00001470 670C beq +0xE /* 0000147E */
00001472 4227 clr.b -[A7]
00001474 A973 syscall StillDown
00001476 4A1F tst.b [A7]+
00001478 6704 beq +0x6 /* 0000147E */
0000147A 4EBA 0318 jsr [PC + 0x318 /* 00001794 */]
label0000147E:
0000147E 7000 moveq.l D0, 0x00
00001480 307C 000C movea.w A0, 0xC
00001484 A02F syscall PostEvent/PPostEvent
00001486 6000 018C bra +0x18E /* 00001614 */
0000148A 4267 clr.w -[A7]
0000148C 2F2D D65A move.l -[A7], [A5 - 0x29A6]
00001490 486E FFFC pea.l [A6 - 0x4]
00001494 A92C syscall FindWindow
00001496 301F move.w D0, [A7]+
00001498 0C40 0006 cmpi.w D0, 0x6
0000149C 6200 0176 bhi +0x178 /* 00001614 */
000014A0 43FA 0176 lea.l A1, [PC + 0x176 /* 00001618, value 0xFFFCFE94 */]
000014A4 D040 add.w D0, D0
000014A6 D2F1 0000 add.w A1, [A1 + D0.w]
000014AA 4ED1 jmp [A1]
000014AC 42A7 clr.l -[A7]
000014AE 2F2D D65A move.l -[A7], [A5 - 0x29A6]
000014B2 A93D syscall MenuSelect
000014B4 4EBA 070A jsr [PC + 0x70A /* 00001BC0 */]
000014B8 588F addq.l A7, 4
000014BA 6000 0158 bra +0x15A /* 00001614 */
000014BE 486D D650 pea.l [A5 - 0x29B0]
000014C2 2F2E FFFC move.l -[A7], [A6 - 0x4]
000014C6 A9B3 syscall SystemClick
000014C8 6000 014A bra +0x14C /* 00001614 */
000014CC 1B7C 0001 D668 move.b [A5 - 0x2998], 0x1
000014D2 422D D669 clr.b [A5 - 0x2997]
000014D6 202D D656 move.l D0, [A5 - 0x29AA]
000014DA 90AD D670 sub.l D0, [A5 - 0x2990]
000014DE B0B8 02F0 cmp.l D0, [0x000002F0 /* DoubleTime */]
000014E2 6436 bcc +0x38 /* 0000151A */
000014E4 302D D66E move.w D0, [A5 - 0x2992]
000014E8 906D D664 sub.w D0, [A5 - 0x299C]
000014EC 5B40 subq.w D0, 5
000014EE 6C2A bge +0x2C /* 0000151A */
000014F0 302D D664 move.w D0, [A5 - 0x299C]
000014F4 906D D66E sub.w D0, [A5 - 0x2992]
000014F8 5B40 subq.w D0, 5
000014FA 6C1E bge +0x20 /* 0000151A */
000014FC 302D D66C move.w D0, [A5 - 0x2994]
00001500 906D D662 sub.w D0, [A5 - 0x299E]
00001504 5B40 subq.w D0, 5
00001506 6C12 bge +0x14 /* 0000151A */
00001508 302D D662 move.w D0, [A5 - 0x299E]
0000150C 906D D66C sub.w D0, [A5 - 0x2994]
00001510 5B40 subq.w D0, 5
00001512 6C06 bge +0x8 /* 0000151A */
00001514 1B7C 0001 D669 move.b [A5 - 0x2997], 0x1
label0000151A:
0000151A 2B6D D656 D670 move.l [A5 - 0x2990], [A5 - 0x29AA]
00001520 2B6D D662 D66C move.l [A5 - 0x2994], [A5 - 0x299E]
00001526 4EBA 026C jsr [PC + 0x26C /* 00001794 */]
0000152A 6000 00E8 bra +0xEA /* 00001614 */
0000152E 422D D668 clr.b [A5 - 0x2998]
00001532 422D D669 clr.b [A5 - 0x2997]
00001536 422D D66B clr.b [A5 - 0x2995]
0000153A 6000 00D8 bra +0xDA /* 00001614 */
0000153E 70FF moveq.l D0, 0xFFFFFFFF
00001540 C02D D655 and.b D0, [A5 - 0x29AB]
00001544 1B40 D676 move.b [A5 - 0x298A], D0
00001548 082D 0000 D65E btst.b [A5 - 0x29A2], 0x0
0000154E 6726 beq +0x28 /* 00001576 */
00001550 0C2D 0020 D676 cmpi.b [A5 - 0x298A], 0x20 /* ' ' */
00001556 6608 bne +0xA /* 00001560 */
00001558 4EBA 162E jsr [PC + 0x162E /* 00002B88 */]
0000155C 6000 00B6 bra +0xB8 /* 00001614 */
label00001560:
00001560 42A7 clr.l -[A7]
00001562 102D D676 move.b D0, [A5 - 0x298A]
00001566 4880 ext.w D0
00001568 3F00 move.w -[A7], D0
0000156A A93E syscall MenuKey
0000156C 4EBA 0652 jsr [PC + 0x652 /* 00001BC0 */]
00001570 588F addq.l A7, 4
00001572 6000 00A0 bra +0xA2 /* 00001614 */
label00001576:
00001576 1B7C 0001 D674 move.b [A5 - 0x298C], 0x1
0000157C 422D D675 clr.b [A5 - 0x298B]
00001580 4EBA 050A jsr [PC + 0x50A /* 00001A8C */]
00001584 6000 008E bra +0x90 /* 00001614 */
00001588 422D D674 clr.b [A5 - 0x298C]
0000158C 422D D675 clr.b [A5 - 0x298B]
00001590 6000 0082 bra +0x84 /* 00001614 */
00001594 70FF moveq.l D0, 0xFFFFFFFF
00001596 C02D D655 and.b D0, [A5 - 0x29AB]
0000159A 1B40 D676 move.b [A5 - 0x298A], D0
0000159E 1B7C 0001 D674 move.b [A5 - 0x298C], 0x1
000015A4 1B7C 0001 D675 move.b [A5 - 0x298B], 0x1
000015AA 4EBA 04E0 jsr [PC + 0x4E0 /* 00001A8C */]
000015AE 6064 bra +0x66 /* 00001614 */
000015B0 4A2D CE61 tst.b [A5 - 0x319F]
000015B4 670C beq +0xE /* 000015C2 */
000015B6 2F2D D652 move.l -[A7], [A5 - 0x29AE]
000015BA 4EBA 010C jsr [PC + 0x10C /* 000016C8 */]
000015BE 588F addq.l A7, 4
000015C0 6052 bra +0x54 /* 00001614 */
label000015C2:
000015C2 2F2D D652 move.l -[A7], [A5 - 0x29AE]
000015C6 4EBA 019E jsr [PC + 0x19E /* 00001766 */]
000015CA 588F addq.l A7, 4
000015CC 6046 bra +0x48 /* 00001614 */
000015CE 082D 0000 D65F btst.b [A5 - 0x29A1], 0x0
000015D4 670C beq +0xE /* 000015E2 */
000015D6 2F2D D652 move.l -[A7], [A5 - 0x29AE]
000015DA 4EBA 006A jsr [PC + 0x6A /* 00001646 */]
000015DE 588F addq.l A7, 4
000015E0 6032 bra +0x34 /* 00001614 */
label000015E2:
000015E2 2F2D D652 move.l -[A7], [A5 - 0x29AE]
000015E6 4EBA 00A4 jsr [PC + 0xA4 /* 0000168C */]
000015EA 588F addq.l A7, 4
000015EC 6026 bra +0x28 /* 00001614 */
000015EE 0C2D 0001 D652 cmpi.b [A5 - 0x29AE], 0x1
000015F4 661E bne +0x20 /* 00001614 */
000015F6 082D 0000 D655 btst.b [A5 - 0x29AB], 0x0
000015FC 670C beq +0xE /* 0000160A */
000015FE 42A7 clr.l -[A7]
00001600 A924 syscall FrontWindow
00001602 4EBA 0042 jsr [PC + 0x42 /* 00001646 */]
00001606 588F addq.l A7, 4
00001608 600A bra +0xC /* 00001614 */
label0000160A:
0000160A 42A7 clr.l -[A7]
0000160C A924 syscall FrontWindow
0000160E 4EBA 007C jsr [PC + 0x7C /* 0000168C */]
00001612 588F addq.l A7, 4
label00001614:
00001614 4E5E unlink A6
00001616 4E75 rts
00001618 FFFC .invalid <<F/7/7>>
0000161A FE94 FEA6 .extension 0xE94 <<F/2-3/7>> // unimplemented
0000161E FEB4 FFFC .extension 0xEB4 <<F/2-3/7>> // unimplemented
00001622 FFFC .invalid <<F/7/7>>
00001624 FFFC .invalid <<F/7/7>>
00001626 FE46 FE64 .extension 0xE46 <<F/1/7>>, 0xFE64 // unimplemented
0000162A FF08 .extension 0xF08 <<F/4-5/7>> // unimplemented
0000162C FF18 .extension 0xF18 <<F/4-5/7>> // unimplemented
0000162E FF62 .extension 0xF62 <<F/4-5/7>> // unimplemented
00001630 FF6E .extension 0xF6E <<F/4-5/7>> // unimplemented
00001632 FF8A .invalid <<F/6/7>>
00001634 FFEE .invalid <<F/7/7>>
00001636 FFA8 .invalid <<F/6/7>>
00001638 FFEE .invalid <<F/7/7>>
0000163A FFEE .invalid <<F/7/7>>
0000163C FFEE .invalid <<F/7/7>>
0000163E FFEE .invalid <<F/7/7>>
00001640 FFEE .invalid <<F/7/7>>
00001642 FFEE .invalid <<F/7/7>>
00001644 FFC8 .invalid <<F/7/7>>
fn00001646:
00001646 4E56 0000 link A6, 0
0000164A 202E 0008 move.l D0, [A6 + 0x8]
0000164E B0AD D6A6 cmp.l D0, [A5 - 0x295A]
00001652 6634 bne +0x36 /* 00001688 */
00001654 2F2D D634 move.l -[A7], [A5 - 0x29CC]
00001658 4267 clr.w -[A7]
0000165A A93A syscall DisableItem
0000165C A937 syscall DrawMenuBar
0000165E 4EBA 14AE jsr [PC + 0x14AE /* 00002B0E */]
00001662 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001666 A873 syscall SetPort
00001668 4A2D D69F tst.b [A5 - 0x2961]
0000166C 670A beq +0xC /* 00001678 */
0000166E 4A2D CE66 tst.b [A5 - 0x319A]
00001672 6604 bne +0x6 /* 00001678 */
00001674 4EBA 17B6 jsr [PC + 0x17B6 /* 00002E2C */]
label00001678:
00001678 486D D6B8 pea.l [A5 - 0x2948]
0000167C A928 syscall InvalRect
0000167E 4EBA 1FA6 jsr [PC + 0x1FA6 /* 00003626 */]
00001682 1B7C 0001 CE61 move.b [A5 - 0x319F], 0x1
label00001688:
00001688 4E5E unlink A6
0000168A 4E75 rts
fn0000168C:
0000168C 4E56 0000 link A6, 0
00001690 202E 0008 move.l D0, [A6 + 0x8]
00001694 B0AD D6A6 cmp.l D0, [A5 - 0x295A]
00001698 662A bne +0x2C /* 000016C4 */
0000169A 4A2D D69F tst.b [A5 - 0x2961]
0000169E 670A beq +0xC /* 000016AA */
000016A0 4A2D CE66 tst.b [A5 - 0x319A]
000016A4 6604 bne +0x6 /* 000016AA */
000016A6 4EBA 17CE jsr [PC + 0x17CE /* 00002E76 */]
label000016AA:
000016AA 4EBA 1F4C jsr [PC + 0x1F4C /* 000035F8 */]
000016AE 4EBA 14D8 jsr [PC + 0x14D8 /* 00002B88 */]
000016B2 2F2D D634 move.l -[A7], [A5 - 0x29CC]
000016B6 4267 clr.w -[A7]
000016B8 A939 syscall EnableItem
000016BA A937 syscall DrawMenuBar
000016BC 422D CE61 clr.b [A5 - 0x319F]
000016C0 422D CE62 clr.b [A5 - 0x319E]
label000016C4:
000016C4 4E5E unlink A6
000016C6 4E75 rts
fn000016C8:
000016C8 4E56 0000 link A6, 0
000016CC 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
000016D0 266E 0008 movea.l A3, [A6 + 0x8]
000016D4 4A2D D69F tst.b [A5 - 0x2961]
000016D8 6760 beq +0x62 /* 0000173A */
000016DA 206D D696 movea.l A0, [A5 - 0x296A]
000016DE 2050 movea.l A0, [A0]
000016E0 2E10 move.l D7, [A0]
000016E2 BEAD D69A cmp.l D7, [A5 - 0x2966]
000016E6 6752 beq +0x54 /* 0000173A */
000016E8 7CFF moveq.l D6, 0xFFFFFFFF
000016EA 206D D692 movea.l A0, [A5 - 0x296E]
000016EE 2850 movea.l A4, [A0]
000016F0 3A2C 001E move.w D5, [A4 + 0x1E]
000016F4 4A45 tst.w D5
000016F6 6706 beq +0x8 /* 000016FE */
000016F8 0C45 0010 cmpi.w D5, 0x10
000016FC 6608 bne +0xA /* 00001706 */
label000016FE:
000016FE 3C2C 0024 move.w D6, [A4 + 0x24]
00001702 CDEC 0022 muls.w D6, [A4 + 0x22]
label00001706:
00001706 BC6D D67C cmp.w D6, [A5 - 0x2984]
0000170A 6610 bne +0x12 /* 0000171C */
0000170C 4A2D CE66 tst.b [A5 - 0x319A]
00001710 6724 beq +0x26 /* 00001736 */
00001712 4EBA 1718 jsr [PC + 0x1718 /* 00002E2C */]
00001716 422D CE66 clr.b [A5 - 0x319A]
0000171A 601A bra +0x1C /* 00001736 */
label0000171C:
0000171C 4A2D CE66 tst.b [A5 - 0x319A]
00001720 6614 bne +0x16 /* 00001736 */
00001722 3F3C 03E9 move.w -[A7], 0x3E9
00001726 4EBA 1552 jsr [PC + 0x1552 /* 00002C7A */]
0000172A 4EBA 174A jsr [PC + 0x174A /* 00002E76 */]
0000172E 1B7C 0001 CE66 move.b [A5 - 0x319A], 0x1
00001734 548F addq.l A7, 2
label00001736:
00001736 2B47 D69A move.l [A5 - 0x2966], D7
label0000173A:
0000173A 2F0B move.l -[A7], A3
0000173C A922 syscall BeginUpdate
0000173E B7ED D6A6 cmpa.l A3, [A5 - 0x295A]
00001742 6610 bne +0x12 /* 00001754 */
00001744 2F2D D6C0 move.l -[A7], [A5 - 0x2940]
00001748 A8D3 syscall PaintRgn
0000174A 486D D6B0 pea.l [A5 - 0x2950]
0000174E 4EBA 195E jsr [PC + 0x195E /* 000030AE */]
00001752 588F addq.l A7, 4
label00001754:
00001754 2F0B move.l -[A7], A3
00001756 A923 syscall EndUpdate
00001758 1B7C 0001 CE62 move.b [A5 - 0x319E], 0x1
0000175E 4CDF 18E0 movem.l D5,D6,D7,A3,A4, [A7]+
00001762 4E5E unlink A6
00001764 4E75 rts
fn00001766:
00001766 4E56 FFFC link A6, -0x0004
0000176A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000176E A922 syscall BeginUpdate
00001770 202E 0008 move.l D0, [A6 + 0x8]
00001774 B0AD D6A6 cmp.l D0, [A5 - 0x295A]
00001778 6610 bne +0x12 /* 0000178A */
0000177A 2F2D D6C0 move.l -[A7], [A5 - 0x2940]
0000177E A8D3 syscall PaintRgn
00001780 486D D6B0 pea.l [A5 - 0x2950]
00001784 4EBA 1928 jsr [PC + 0x1928 /* 000030AE */]
00001788 588F addq.l A7, 4
label0000178A:
0000178A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000178E A923 syscall EndUpdate
00001790 4E5E unlink A6
00001792 4E75 rts
fn00001794:
00001794 302D CFDC move.w D0, [A5 - 0x3024]
00001798 6B00 02F0 bmi +0x2F2 /* 00001A8A */
0000179C 5B40 subq.w D0, 5
0000179E 6700 00EE beq +0xF0 /* 0000188E */
000017A2 6A00 02E6 bpl +0x2E8 /* 00001A8A */
000017A6 5640 addq.w D0, 3
000017A8 6704 beq +0x6 /* 000017AE */
000017AA 6000 02DE bra +0x2E0 /* 00001A8A */
label000017AE:
000017AE 4227 clr.b -[A7]
000017B0 2F2D D662 move.l -[A7], [A5 - 0x299E]
000017B4 486D D84C pea.l [A5 - 0x27B4]
000017B8 A8AD syscall PtInRect
000017BA 4A1F tst.b [A7]+
000017BC 6708 beq +0xA /* 000017C6 */
000017BE 4EBA 05BA jsr [PC + 0x5BA /* 00001D7A */]
000017C2 6000 02C6 bra +0x2C8 /* 00001A8A */
label000017C6:
000017C6 4227 clr.b -[A7]
000017C8 2F2D D662 move.l -[A7], [A5 - 0x299E]
000017CC 486D D854 pea.l [A5 - 0x27AC]
000017D0 A8AD syscall PtInRect
000017D2 4A1F tst.b [A7]+
000017D4 6708 beq +0xA /* 000017DE */
000017D6 4EBA 05E2 jsr [PC + 0x5E2 /* 00001DBA */]
000017DA 6000 02AE bra +0x2B0 /* 00001A8A */
label000017DE:
000017DE 4227 clr.b -[A7]
000017E0 2F2D D662 move.l -[A7], [A5 - 0x299E]
000017E4 486D D85C pea.l [A5 - 0x27A4]
000017E8 A8AD syscall PtInRect
000017EA 4A1F tst.b [A7]+
000017EC 674C beq +0x4E /* 0000183A */
000017EE 4A2D DF1B tst.b [A5 - 0x20E5]
000017F2 6628 bne +0x2A /* 0000181C */
000017F4 4A2D DF1C tst.b [A5 - 0x20E4]
000017F8 6616 bne +0x18 /* 00001810 */
000017FA 1F3C 0001 move.b -[A7], 0x1
000017FE 4EBA 07C4 jsr [PC + 0x7C4 /* 00001FC4 */]
00001802 1EBC 0001 move.b [A7], 0x1
00001806 4EBA 080A jsr [PC + 0x80A /* 00002012 */]
0000180A 548F addq.l A7, 2
0000180C 6000 027C bra +0x27E /* 00001A8A */
label00001810:
00001810 4227 clr.b -[A7]
00001812 4EBA 07FE jsr [PC + 0x7FE /* 00002012 */]
00001816 548F addq.l A7, 2
00001818 6000 0270 bra +0x272 /* 00001A8A */
label0000181C:
0000181C 4A2D DF1C tst.b [A5 - 0x20E4]
00001820 660C bne +0xE /* 0000182E */
00001822 4227 clr.b -[A7]
00001824 4EBA 079E jsr [PC + 0x79E /* 00001FC4 */]
00001828 548F addq.l A7, 2
0000182A 6000 025E bra +0x260 /* 00001A8A */
label0000182E:
0000182E 4227 clr.b -[A7]
00001830 4EBA 07E0 jsr [PC + 0x7E0 /* 00002012 */]
00001834 548F addq.l A7, 2
00001836 6000 0252 bra +0x254 /* 00001A8A */
label0000183A:
0000183A 4227 clr.b -[A7]
0000183C 2F2D D662 move.l -[A7], [A5 - 0x299E]
00001840 486D D864 pea.l [A5 - 0x279C]
00001844 A8AD syscall PtInRect
00001846 4A1F tst.b [A7]+
00001848 6700 0240 beq +0x242 /* 00001A8A */
0000184C 4227 clr.b -[A7]
0000184E 2F2D D662 move.l -[A7], [A5 - 0x299E]
00001852 486D D86C pea.l [A5 - 0x2794]
00001856 A8AD syscall PtInRect
00001858 4A1F tst.b [A7]+
0000185A 670E beq +0x10 /* 0000186A */
0000185C 0C6D 0003 DFF2 cmpi.w [A5 - 0x200E], 0x3
00001862 6C20 bge +0x22 /* 00001884 */
00001864 526D DFF2 addq.w [A5 - 0x200E], 1
00001868 601A bra +0x1C /* 00001884 */
label0000186A:
0000186A 4227 clr.b -[A7]
0000186C 2F2D D662 move.l -[A7], [A5 - 0x299E]
00001870 486D D874 pea.l [A5 - 0x278C]
00001874 A8AD syscall PtInRect
00001876 4A1F tst.b [A7]+
00001878 670A beq +0xC /* 00001884 */
0000187A 4A6D DFF2 tst.w [A5 - 0x200E]
0000187E 6F04 ble +0x6 /* 00001884 */
00001880 536D DFF2 subq.w [A5 - 0x200E], 1
label00001884:
00001884 3B6D DFF2 DFC2 move.w [A5 - 0x203E], [A5 - 0x200E]
0000188A 6000 01FE bra +0x200 /* 00001A8A */
label0000188E:
0000188E 4227 clr.b -[A7]
00001890 2F2D D662 move.l -[A7], [A5 - 0x299E]
00001894 486D D6D2 pea.l [A5 - 0x292E]
00001898 A8AD syscall PtInRect
0000189A 4A1F tst.b [A7]+
0000189C 6708 beq +0xA /* 000018A6 */
0000189E 4EAD 0272 jsr [A5 + 0x272 /* export_74 */]
000018A2 6000 01E6 bra +0x1E8 /* 00001A8A */
label000018A6:
000018A6 4227 clr.b -[A7]
000018A8 2F2D D662 move.l -[A7], [A5 - 0x299E]
000018AC 486D D6E2 pea.l [A5 - 0x291E]
000018B0 A8AD syscall PtInRect
000018B2 4A1F tst.b [A7]+
000018B4 6700 01D4 beq +0x1D6 /* 00001A8A */
000018B8 4227 clr.b -[A7]
000018BA 2F2D D662 move.l -[A7], [A5 - 0x299E]
000018BE 486D D7A2 pea.l [A5 - 0x285E]
000018C2 A8AD syscall PtInRect
000018C4 4A1F tst.b [A7]+
000018C6 6724 beq +0x26 /* 000018EC */
000018C8 302D D662 move.w D0, [A5 - 0x299E]
000018CC 906D D7A2 sub.w D0, [A5 - 0x285E]
000018D0 3F00 move.w -[A7], D0
000018D2 302D D664 move.w D0, [A5 - 0x299C]
000018D6 906D D7A4 sub.w D0, [A5 - 0x285C]
000018DA 3F00 move.w -[A7], D0
000018DC 4EAD 027A jsr [A5 + 0x27A /* export_75 */]
000018E0 1B7C 0001 D66B move.b [A5 - 0x2995], 0x1
000018E6 588F addq.l A7, 4
000018E8 6000 01A0 bra +0x1A2 /* 00001A8A */
label000018EC:
000018EC 4227 clr.b -[A7]
000018EE 2F2D D662 move.l -[A7], [A5 - 0x299E]
000018F2 486D D6EA pea.l [A5 - 0x2916]
000018F6 A8AD syscall PtInRect
000018F8 4A1F tst.b [A7]+
000018FA 6714 beq +0x16 /* 00001910 */
000018FC 3F3C FFFF move.w -[A7], 0xFFFF
00001900 4EAD 0282 jsr [A5 + 0x282 /* export_76 */]
00001904 1B7C 0001 D66B move.b [A5 - 0x2995], 0x1
0000190A 548F addq.l A7, 2
0000190C 6000 017C bra +0x17E /* 00001A8A */
label00001910:
00001910 4227 clr.b -[A7]
00001912 2F2D D662 move.l -[A7], [A5 - 0x299E]
00001916 486D D6F2 pea.l [A5 - 0x290E]
0000191A A8AD syscall PtInRect
0000191C 4A1F tst.b [A7]+
0000191E 6714 beq +0x16 /* 00001934 */
00001920 3F3C 0001 move.w -[A7], 0x1
00001924 4EAD 0282 jsr [A5 + 0x282 /* export_76 */]
00001928 1B7C 0001 D66B move.b [A5 - 0x2995], 0x1
0000192E 548F addq.l A7, 2
00001930 6000 0158 bra +0x15A /* 00001A8A */
label00001934:
00001934 4227 clr.b -[A7]
00001936 2F2D D662 move.l -[A7], [A5 - 0x299E]
0000193A 486D D6FA pea.l [A5 - 0x2906]
0000193E A8AD syscall PtInRect
00001940 4A1F tst.b [A7]+
00001942 670C beq +0xE /* 00001950 */
00001944 4267 clr.w -[A7]
00001946 4EAD 029A jsr [A5 + 0x29A /* export_79 */]
0000194A 548F addq.l A7, 2
0000194C 6000 013C bra +0x13E /* 00001A8A */
label00001950:
00001950 4227 clr.b -[A7]
00001952 2F2D D662 move.l -[A7], [A5 - 0x299E]
00001956 486D D702 pea.l [A5 - 0x28FE]
0000195A A8AD syscall PtInRect
0000195C 4A1F tst.b [A7]+
0000195E 670E beq +0x10 /* 0000196E */
00001960 3F3C 0001 move.w -[A7], 0x1
00001964 4EAD 029A jsr [A5 + 0x29A /* export_79 */]
00001968 548F addq.l A7, 2
0000196A 6000 011E bra +0x120 /* 00001A8A */
label0000196E:
0000196E 4227 clr.b -[A7]
00001970 2F2D D662 move.l -[A7], [A5 - 0x299E]
00001974 486D D70A pea.l [A5 - 0x28F6]
00001978 A8AD syscall PtInRect
0000197A 4A1F tst.b [A7]+
0000197C 670E beq +0x10 /* 0000198C */
0000197E 3F3C 0002 move.w -[A7], 0x2
00001982 4EAD 029A jsr [A5 + 0x29A /* export_79 */]
00001986 548F addq.l A7, 2
00001988 6000 0100 bra +0x102 /* 00001A8A */
label0000198C:
0000198C 4227 clr.b -[A7]
0000198E 2F2D D662 move.l -[A7], [A5 - 0x299E]
00001992 486D D712 pea.l [A5 - 0x28EE]
00001996 A8AD syscall PtInRect
00001998 4A1F tst.b [A7]+
0000199A 670E beq +0x10 /* 000019AA */
0000199C 3F3C 0003 move.w -[A7], 0x3
000019A0 4EAD 029A jsr [A5 + 0x29A /* export_79 */]
000019A4 548F addq.l A7, 2
000019A6 6000 00E2 bra +0xE4 /* 00001A8A */
label000019AA:
000019AA 4227 clr.b -[A7]
000019AC 2F2D D662 move.l -[A7], [A5 - 0x299E]
000019B0 486D D71A pea.l [A5 - 0x28E6]
000019B4 A8AD syscall PtInRect
000019B6 4A1F tst.b [A7]+
000019B8 670E beq +0x10 /* 000019C8 */
000019BA 3F3C 0004 move.w -[A7], 0x4
000019BE 4EAD 029A jsr [A5 + 0x29A /* export_79 */]
000019C2 548F addq.l A7, 2
000019C4 6000 00C4 bra +0xC6 /* 00001A8A */
label000019C8:
000019C8 4227 clr.b -[A7]
000019CA 2F2D D662 move.l -[A7], [A5 - 0x299E]
000019CE 486D D722 pea.l [A5 - 0x28DE]
000019D2 A8AD syscall PtInRect
000019D4 4A1F tst.b [A7]+
000019D6 670E beq +0x10 /* 000019E6 */
000019D8 3F3C 0005 move.w -[A7], 0x5
000019DC 4EAD 029A jsr [A5 + 0x29A /* export_79 */]
000019E0 548F addq.l A7, 2
000019E2 6000 00A6 bra +0xA8 /* 00001A8A */
label000019E6:
000019E6 4227 clr.b -[A7]
000019E8 2F2D D662 move.l -[A7], [A5 - 0x299E]
000019EC 486D D72A pea.l [A5 - 0x28D6]
000019F0 A8AD syscall PtInRect
000019F2 4A1F tst.b [A7]+
000019F4 670E beq +0x10 /* 00001A04 */
000019F6 3F3C 0006 move.w -[A7], 0x6
000019FA 4EAD 029A jsr [A5 + 0x29A /* export_79 */]
000019FE 548F addq.l A7, 2
00001A00 6000 0088 bra +0x8A /* 00001A8A */
label00001A04:
00001A04 4227 clr.b -[A7]
00001A06 2F2D D662 move.l -[A7], [A5 - 0x299E]
00001A0A 486D D732 pea.l [A5 - 0x28CE]
00001A0E A8AD syscall PtInRect
00001A10 4A1F tst.b [A7]+
00001A12 670C beq +0xE /* 00001A20 */
00001A14 3F3C 0007 move.w -[A7], 0x7
00001A18 4EAD 029A jsr [A5 + 0x29A /* export_79 */]
00001A1C 548F addq.l A7, 2
00001A1E 606A bra +0x6C /* 00001A8A */
label00001A20:
00001A20 4227 clr.b -[A7]
00001A22 2F2D D662 move.l -[A7], [A5 - 0x299E]
00001A26 486D D73A pea.l [A5 - 0x28C6]
00001A2A A8AD syscall PtInRect
00001A2C 4A1F tst.b [A7]+
00001A2E 6712 beq +0x14 /* 00001A42 */
00001A30 4A2D DF1A tst.b [A5 - 0x20E6]
00001A34 57C0 seq D0
00001A36 4400 neg.b D0
00001A38 1F00 move.b -[A7], D0
00001A3A 4EBA 056C jsr [PC + 0x56C /* 00001FA8 */]
00001A3E 548F addq.l A7, 2
00001A40 6048 bra +0x4A /* 00001A8A */
label00001A42:
00001A42 4227 clr.b -[A7]
00001A44 2F2D D662 move.l -[A7], [A5 - 0x299E]
00001A48 486D D742 pea.l [A5 - 0x28BE]
00001A4C A8AD syscall PtInRect
00001A4E 4A1F tst.b [A7]+
00001A50 6738 beq +0x3A /* 00001A8A */
00001A52 4A2D D669 tst.b [A5 - 0x2997]
00001A56 6732 beq +0x34 /* 00001A8A */
00001A58 4A2D DF1A tst.b [A5 - 0x20E6]
00001A5C 6620 bne +0x22 /* 00001A7E */
00001A5E 4A2D EB6B tst.b [A5 - 0x1495]
00001A62 661A bne +0x1C /* 00001A7E */
00001A64 1B7C 0001 EB6B move.b [A5 - 0x1495], 0x1
00001A6A 1B7C 0001 DFBD move.b [A5 - 0x2043], 0x1
00001A70 2F3C 000F 0000 move.l -[A7], 0xF0000
00001A76 4EBA 1998 jsr [PC + 0x1998 /* 00003410 */]
00001A7A 588F addq.l A7, 4
00001A7C 600C bra +0xE /* 00001A8A */
label00001A7E:
00001A7E 2F3C 000E 0000 move.l -[A7], 0xE0000
00001A84 4EBA 198A jsr [PC + 0x198A /* 00003410 */]
00001A88 588F addq.l A7, 4
label00001A8A:
00001A8A 4E75 rts
fn00001A8C:
00001A8C 102D D676 move.b D0, [A5 - 0x298A]
00001A90 6B0C bmi +0xE /* 00001A9E */
00001A92 0400 000D subi.b D0, 0xD /* '\r' */
00001A96 6702 beq +0x4 /* 00001A9A */
00001A98 6004 bra +0x6 /* 00001A9E */
label00001A9A:
00001A9A 4EBA 1060 jsr [PC + 0x1060 /* 00002AFC */]
label00001A9E:
00001A9E 302D CFDC move.w D0, [A5 - 0x3024]
00001AA2 6B5C bmi +0x5E /* 00001B00 */
00001AA4 5B40 subq.w D0, 5
00001AA6 6702 beq +0x4 /* 00001AAA */
00001AA8 6056 bra +0x58 /* 00001B00 */
label00001AAA:
00001AAA 7000 moveq.l D0, 0x00
00001AAC 102D D676 move.b D0, [A5 - 0x298A]
00001AB0 0440 001C subi.w D0, 0x1C
00001AB4 0C40 005E cmpi.w D0, 0x5E /* '^' */
00001AB8 6246 bhi +0x48 /* 00001B00 */
00001ABA 43FA 0046 lea.l A1, [PC + 0x46 /* 00001B02, value 0xFFDCFFE2 */]
00001ABE D040 add.w D0, D0
00001AC0 D2F1 0000 add.w A1, [A1 + D0.w]
00001AC4 4ED1 jmp [A1]
00001AC6 3F3C 0001 move.w -[A7], 0x1
00001ACA 4EAD 0282 jsr [A5 + 0x282 /* export_76 */]
00001ACE 548F addq.l A7, 2
00001AD0 602E bra +0x30 /* 00001B00 */
00001AD2 3F3C FFFF move.w -[A7], 0xFFFF
00001AD6 4EAD 0282 jsr [A5 + 0x282 /* export_76 */]
00001ADA 548F addq.l A7, 2
00001ADC 6022 bra +0x24 /* 00001B00 */
00001ADE 4EAD 028A jsr [A5 + 0x28A /* export_77 */]
00001AE2 601C bra +0x1E /* 00001B00 */
00001AE4 4EAD 0292 jsr [A5 + 0x292 /* export_78 */]
00001AE8 6016 bra +0x18 /* 00001B00 */
00001AEA 4A2D DF1A tst.b [A5 - 0x20E6]
00001AEE 57C0 seq D0
00001AF0 4400 neg.b D0
00001AF2 1F00 move.b -[A7], D0
00001AF4 4EBA 04B2 jsr [PC + 0x4B2 /* 00001FA8 */]
00001AF8 548F addq.l A7, 2
00001AFA 6004 bra +0x6 /* 00001B00 */
00001AFC 4EAD 01B2 jsr [A5 + 0x1B2 /* export_50 */]
label00001B00:
00001B00 4E75 rts
00001B02 FFDC .invalid <<F/7/7>>
00001B04 FFE2 .invalid <<F/7/7>>
00001B06 FFC4 .invalid <<F/7/7>>
00001B08 FFD0 .invalid <<F/7/7>>
00001B0A FFFA .invalid <<F/7/7>>
00001B0C FFFE .invalid <<F/7/7>>
00001B0E FFFE .invalid <<F/7/7>>
00001B10 FFFE .invalid <<F/7/7>>
00001B12 FFFE .invalid <<F/7/7>>
00001B14 FFFE .invalid <<F/7/7>>
00001B16 FFFE .invalid <<F/7/7>>
00001B18 FFFE .invalid <<F/7/7>>
00001B1A FFFE .invalid <<F/7/7>>
00001B1C FFFE .invalid <<F/7/7>>
00001B1E FFFE .invalid <<F/7/7>>
00001B20 FFC4 .invalid <<F/7/7>>
00001B22 FFFE .invalid <<F/7/7>>
00001B24 FFD0 .invalid <<F/7/7>>
00001B26 FFFE .invalid <<F/7/7>>
00001B28 FFFE .invalid <<F/7/7>>
00001B2A FFFE .invalid <<F/7/7>>
00001B2C FFFE .invalid <<F/7/7>>
00001B2E FFFE .invalid <<F/7/7>>
00001B30 FFFE .invalid <<F/7/7>>
00001B32 FFFE .invalid <<F/7/7>>
00001B34 FFFE .invalid <<F/7/7>>
00001B36 FFFE .invalid <<F/7/7>>
00001B38 FFFE .invalid <<F/7/7>>
00001B3A FFFE .invalid <<F/7/7>>
00001B3C FFFE .invalid <<F/7/7>>
00001B3E FFFE .invalid <<F/7/7>>
00001B40 FFFE .invalid <<F/7/7>>
00001B42 FFFE .invalid <<F/7/7>>
00001B44 FFC4 .invalid <<F/7/7>>
00001B46 FFFE .invalid <<F/7/7>>
00001B48 FFFE .invalid <<F/7/7>>
00001B4A FFFE .invalid <<F/7/7>>
00001B4C FFFE .invalid <<F/7/7>>
00001B4E FFFE .invalid <<F/7/7>>
00001B50 FFFE .invalid <<F/7/7>>
00001B52 FFFE .invalid <<F/7/7>>
00001B54 FFFE .invalid <<F/7/7>>
00001B56 FFFE .invalid <<F/7/7>>
00001B58 FFFE .invalid <<F/7/7>>
00001B5A FFFE .invalid <<F/7/7>>
00001B5C FFFE .invalid <<F/7/7>>
00001B5E FFFE .invalid <<F/7/7>>
00001B60 FFFE .invalid <<F/7/7>>
00001B62 FFFE .invalid <<F/7/7>>
00001B64 FFFE .invalid <<F/7/7>>
00001B66 FFFE .invalid <<F/7/7>>
00001B68 FFFE .invalid <<F/7/7>>
00001B6A FFE8 .invalid <<F/7/7>>
00001B6C FFFE .invalid <<F/7/7>>
00001B6E FFFE .invalid <<F/7/7>>
00001B70 FFFE .invalid <<F/7/7>>
00001B72 FFFE .invalid <<F/7/7>>
00001B74 FFFE .invalid <<F/7/7>>
00001B76 FFFE .invalid <<F/7/7>>
00001B78 FFFE .invalid <<F/7/7>>
00001B7A FFE2 .invalid <<F/7/7>>
00001B7C FFFE .invalid <<F/7/7>>
00001B7E FFDC .invalid <<F/7/7>>
00001B80 FFFE .invalid <<F/7/7>>
00001B82 FFFE .invalid <<F/7/7>>
00001B84 FFFE .invalid <<F/7/7>>
00001B86 FFFE .invalid <<F/7/7>>
00001B88 FFD0 .invalid <<F/7/7>>
00001B8A FFE8 .invalid <<F/7/7>>
00001B8C FFFE .invalid <<F/7/7>>
00001B8E FFFE .invalid <<F/7/7>>
00001B90 FFFE .invalid <<F/7/7>>
00001B92 FFFE .invalid <<F/7/7>>
00001B94 FFFE .invalid <<F/7/7>>
00001B96 FFFE .invalid <<F/7/7>>
00001B98 FFFE .invalid <<F/7/7>>
00001B9A FFFE .invalid <<F/7/7>>
00001B9C FFFE .invalid <<F/7/7>>
00001B9E FFFE .invalid <<F/7/7>>
00001BA0 FFFE .invalid <<F/7/7>>
00001BA2 FFFE .invalid <<F/7/7>>
00001BA4 FFFE .invalid <<F/7/7>>
00001BA6 FFFE .invalid <<F/7/7>>
00001BA8 FFFE .invalid <<F/7/7>>
00001BAA FFE8 .invalid <<F/7/7>>
00001BAC FFFE .invalid <<F/7/7>>
00001BAE FFFE .invalid <<F/7/7>>
00001BB0 FFFE .invalid <<F/7/7>>
00001BB2 FFFE .invalid <<F/7/7>>
00001BB4 FFFE .invalid <<F/7/7>>
00001BB6 FFFE .invalid <<F/7/7>>
00001BB8 FFFE .invalid <<F/7/7>>
00001BBA FFE2 .invalid <<F/7/7>>
00001BBC FFFE .invalid <<F/7/7>>
00001BBE FFDC .invalid <<F/7/7>>
fn00001BC0:
00001BC0 4E56 FF00 link A6, -0x0100
00001BC4 2F07 move.l -[A7], D7
00001BC6 4EBA 0FC0 jsr [PC + 0xFC0 /* 00002B88 */]
00001BCA 4267 clr.w -[A7]
00001BCC 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001BD0 A86B syscall LoWord
00001BD2 3E1F move.w D7, [A7]+
00001BD4 4267 clr.w -[A7]
00001BD6 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001BDA A86A syscall HiWord
00001BDC 301F move.w D0, [A7]+
00001BDE 6B00 0122 bmi +0x124 /* 00001D02 */
00001BE2 0440 03EA subi.w D0, 0x3EA
00001BE6 6700 0082 beq +0x84 /* 00001C6A */
00001BEA 6A0A bpl +0xC /* 00001BF6 */
00001BEC 5440 addq.w D0, 2
00001BEE 6710 beq +0x12 /* 00001C00 */
00001BF0 6A3A bpl +0x3C /* 00001C2C */
00001BF2 6000 010E bra +0x110 /* 00001D02 */
label00001BF6:
00001BF6 5540 subq.w D0, 2
00001BF8 6A00 0108 bpl +0x10A /* 00001D02 */
00001BFC 6000 00AA bra +0xAC /* 00001CA8 */
label00001C00:
00001C00 3007 move.w D0, D7
00001C02 670E beq +0x10 /* 00001C12 */
00001C04 6B0C bmi +0xE /* 00001C12 */
00001C06 5540 subq.w D0, 2
00001C08 6A08 bpl +0xA /* 00001C12 */
00001C0A 4EBA 012A jsr [PC + 0x12A /* 00001D36 */]
00001C0E 6000 00F2 bra +0xF4 /* 00001D02 */
label00001C12:
00001C12 2F2D D62C move.l -[A7], [A5 - 0x29D4]
00001C16 3F07 move.w -[A7], D7
00001C18 486E FF00 pea.l [A6 - 0x100]
00001C1C A946 syscall GetMenuItemText/GetItem
00001C1E 4267 clr.w -[A7]
00001C20 486E FF00 pea.l [A6 - 0x100]
00001C24 A9B6 syscall OpenDeskAcc
00001C26 548F addq.l A7, 2
00001C28 6000 00D8 bra +0xDA /* 00001D02 */
label00001C2C:
00001C2C 3007 move.w D0, D7
00001C2E 0C40 0007 cmpi.w D0, 0x7
00001C32 6200 00CE bhi +0xD0 /* 00001D02 */
00001C36 43FA 00E6 lea.l A1, [PC + 0xE6 /* 00001D1E, value 0xFFE4FF24 */]
00001C3A D040 add.w D0, D0
00001C3C D2F1 0000 add.w A1, [A1 + D0.w]
00001C40 4ED1 jmp [A1]
00001C42 4EBA 0136 jsr [PC + 0x136 /* 00001D7A */]
00001C46 6000 00BA bra +0xBC /* 00001D02 */
00001C4A 4EBA 0162 jsr [PC + 0x162 /* 00001DAE */]
00001C4E 6000 00B2 bra +0xB4 /* 00001D02 */
00001C52 4EBA 0166 jsr [PC + 0x166 /* 00001DBA */]
00001C56 6000 00AA bra +0xAC /* 00001D02 */
00001C5A 4EBA 0302 jsr [PC + 0x302 /* 00001F5E */]
00001C5E 6000 00A2 bra +0xA4 /* 00001D02 */
00001C62 4EBA 0306 jsr [PC + 0x306 /* 00001F6A */]
00001C66 6000 009A bra +0x9C /* 00001D02 */
label00001C6A:
00001C6A 70FF moveq.l D0, 0xFFFFFFFF
00001C6C D047 add.w D0, D7
00001C6E 671A beq +0x1C /* 00001C8A */
00001C70 6B00 0090 bmi +0x92 /* 00001D02 */
00001C74 5940 subq.w D0, 4
00001C76 6724 beq +0x26 /* 00001C9C */
00001C78 6A0A bpl +0xC /* 00001C84 */
00001C7A 5440 addq.w D0, 2
00001C7C 6712 beq +0x14 /* 00001C90 */
00001C7E 6A16 bpl +0x18 /* 00001C96 */
00001C80 6000 0080 bra +0x82 /* 00001D02 */
label00001C84:
00001C84 5540 subq.w D0, 2
00001C86 6A7A bpl +0x7C /* 00001D02 */
00001C88 6018 bra +0x1A /* 00001CA2 */
label00001C8A:
00001C8A 4EBA 0312 jsr [PC + 0x312 /* 00001F9E */]
00001C8E 6072 bra +0x74 /* 00001D02 */
label00001C90:
00001C90 4EBA 030E jsr [PC + 0x30E /* 00001FA0 */]
00001C94 606C bra +0x6E /* 00001D02 */
label00001C96:
00001C96 4EBA 030A jsr [PC + 0x30A /* 00001FA2 */]
00001C9A 6066 bra +0x68 /* 00001D02 */
label00001C9C:
00001C9C 4EBA 0306 jsr [PC + 0x306 /* 00001FA4 */]
00001CA0 6060 bra +0x62 /* 00001D02 */
label00001CA2:
00001CA2 4EBA 0302 jsr [PC + 0x302 /* 00001FA6 */]
00001CA6 605A bra +0x5C /* 00001D02 */
label00001CA8:
00001CA8 3007 move.w D0, D7
00001CAA 0C40 0006 cmpi.w D0, 0x6
00001CAE 6252 bhi +0x54 /* 00001D02 */
00001CB0 43FA 005E lea.l A1, [PC + 0x5E /* 00001D10, value 0xFFF2FFAC */]
00001CB4 D040 add.w D0, D0
00001CB6 D2F1 0000 add.w A1, [A1 + D0.w]
00001CBA 4ED1 jmp [A1]
00001CBC 4A2D DF1A tst.b [A5 - 0x20E6]
00001CC0 57C0 seq D0
00001CC2 4400 neg.b D0
00001CC4 1F00 move.b -[A7], D0
00001CC6 4EBA 02E0 jsr [PC + 0x2E0 /* 00001FA8 */]
00001CCA 548F addq.l A7, 2
00001CCC 6034 bra +0x36 /* 00001D02 */
00001CCE 4A2D DF1B tst.b [A5 - 0x20E5]
00001CD2 57C0 seq D0
00001CD4 4400 neg.b D0
00001CD6 1F00 move.b -[A7], D0
00001CD8 4EBA 02EA jsr [PC + 0x2EA /* 00001FC4 */]
00001CDC 548F addq.l A7, 2
00001CDE 6022 bra +0x24 /* 00001D02 */
00001CE0 4A2D DF1C tst.b [A5 - 0x20E4]
00001CE4 57C0 seq D0
00001CE6 4400 neg.b D0
00001CE8 1F00 move.b -[A7], D0
00001CEA 4EBA 0326 jsr [PC + 0x326 /* 00002012 */]
00001CEE 548F addq.l A7, 2
00001CF0 6010 bra +0x12 /* 00001D02 */
00001CF2 4A2D D6A2 tst.b [A5 - 0x295E]
00001CF6 57C0 seq D0
00001CF8 4400 neg.b D0
00001CFA 1F00 move.b -[A7], D0
00001CFC 4EBA 0362 jsr [PC + 0x362 /* 00002060 */]
00001D00 548F addq.l A7, 2
label00001D02:
00001D02 4267 clr.w -[A7]
00001D04 A938 syscall HiliteMenu
00001D06 4EBA 0E06 jsr [PC + 0xE06 /* 00002B0E */]
00001D0A 2E1F move.l D7, [A7]+
00001D0C 4E5E unlink A6
00001D0E 4E75 rts
00001D10 FFF2 .invalid <<F/7/7>>
00001D12 FFAC .invalid <<F/6/7>>
00001D14 FFF2 .invalid <<F/7/7>>
00001D16 FFBE .invalid <<F/6/7>>
00001D18 FFD0 .invalid <<F/7/7>>
00001D1A FFF2 .invalid <<F/7/7>>
00001D1C FFE2 .invalid <<F/7/7>>
00001D1E FFE4 .invalid <<F/7/7>>
00001D20 FF24 .extension 0xF24 <<F/4-5/7>> // unimplemented
00001D22 FF2C .extension 0xF2C <<F/4-5/7>> // unimplemented
00001D24 FFE4 .invalid <<F/7/7>>
00001D26 FF34 .extension 0xF34 <<F/4-5/7>> // unimplemented
00001D28 FF3C .extension 0xF3C <<F/4-5/7>> // unimplemented
00001D2A FFE4 .invalid <<F/7/7>>
00001D2C FF44 .extension 0xF44 <<F/4-5/7>> // unimplemented
fn00001D2E:
00001D2E 4E75 rts
00001D30 4E75 rts
00001D32 4E75 rts
00001D34 4E75 rts
fn00001D36:
00001D36 2F0C move.l -[A7], A4
00001D38 42A7 clr.l -[A7]
00001D3A 2F3C 5073 7967 move.l -[A7], 0x50737967 /* 'Psyg' */
00001D40 4EBA 0EC8 jsr [PC + 0xEC8 /* 00002C0A */]
00001D44 2840 movea.l A4, D0
00001D46 200C move.l D0, A4
00001D48 508F addq.l A7, 8
00001D4A 672A beq +0x2C /* 00001D76 */
00001D4C 2F0C move.l -[A7], A4
00001D4E 42A7 clr.l -[A7]
00001D50 42A7 clr.l -[A7]
00001D52 42A7 clr.l -[A7]
00001D54 A98B syscall ParamText
00001D56 41ED 00BA lea.l A0, [A5 + 0xBA /* export_19 */]
00001D5A 2B48 DF5C move.l [A5 - 0x20A4], A0
00001D5E 43ED 00C2 lea.l A1, [A5 + 0xC2 /* export_20 */]
00001D62 2B49 DF60 move.l [A5 - 0x20A0], A1
00001D66 3F3C 03E8 move.w -[A7], 0x3E8
00001D6A 4EBA 0F40 jsr [PC + 0xF40 /* 00002CAC */]
00001D6E 2F0C move.l -[A7], A4
00001D70 4EBA 0EE2 jsr [PC + 0xEE2 /* 00002C54 */]
00001D74 5C8F addq.l A7, 6
label00001D76:
00001D76 285F movea.l A4, [A7]+
00001D78 4E75 rts
fn00001D7A:
00001D7A 4A6D DFF2 tst.w [A5 - 0x200E]
00001D7E 6F06 ble +0x8 /* 00001D86 */
00001D80 3B6D DFF2 DFC2 move.w [A5 - 0x203E], [A5 - 0x200E]
label00001D86:
00001D86 0C6D 000A DFC2 cmpi.w [A5 - 0x203E], 0xA /* '\n' */
00001D8C 6D04 blt +0x6 /* 00001D92 */
00001D8E 426D DFC2 clr.w [A5 - 0x203E]
label00001D92:
00001D92 302D DFC2 move.w D0, [A5 - 0x203E]
00001D96 204D movea.l A0, A5
00001D98 D0C0 add.w A0, D0
00001D9A D0C0 add.w A0, D0
00001D9C 4A68 E012 tst.w [A0 - 0x1FEE]
00001DA0 6604 bne +0x6 /* 00001DA6 */
00001DA2 426D DFC2 clr.w [A5 - 0x203E]
label00001DA6:
00001DA6 1B7C 0001 DFBF move.b [A5 - 0x2041], 0x1
00001DAC 4E75 rts
fn00001DAE:
00001DAE 3B7C 0009 CFDC move.w [A5 - 0x3024], 0x9 /* '\t' */
00001DB4 426D DF18 clr.w [A5 - 0x20E8]
00001DB8 4E75 rts
fn00001DBA:
00001DBA 41ED 013A lea.l A0, [A5 + 0x13A /* export_35 */]
00001DBE 2B48 DF5C move.l [A5 - 0x20A4], A0
00001DC2 43ED 00C2 lea.l A1, [A5 + 0xC2 /* export_20 */]
00001DC6 2B49 DF60 move.l [A5 - 0x20A0], A1
00001DCA 41ED 0142 lea.l A0, [A5 + 0x142 /* export_36 */]
00001DCE 2B48 DF64 move.l [A5 - 0x209C], A0
00001DD2 41ED 014A lea.l A0, [A5 + 0x14A /* export_37 */]
00001DD6 2B48 DF68 move.l [A5 - 0x2098], A0
00001DDA 3F3C 03E9 move.w -[A7], 0x3E9
00001DDE 4EBA 0ECC jsr [PC + 0xECC /* 00002CAC */]
00001DE2 548F addq.l A7, 2
00001DE4 4E75 rts
export_35:
00001DE6 2F2D DF6C move.l -[A7], [A5 - 0x2094]
00001DEA 3F3C 0006 move.w -[A7], 0x6
00001DEE A827 syscall HideDialogItem/HideDItem
00001DF0 2F2D DF6C move.l -[A7], [A5 - 0x2094]
00001DF4 3F3C 0007 move.w -[A7], 0x7
00001DF8 A827 syscall HideDialogItem/HideDItem
00001DFA 2F2D DF6C move.l -[A7], [A5 - 0x2094]
00001DFE A981 syscall DrawDialog
00001E00 4EBA 0FA8 jsr [PC + 0xFA8 /* 00002DAA */]
00001E04 4E75 rts
export_36:
00001E06 4E56 FFF0 link A6, -0x0010
00001E0A 0C6D 0001 DF70 cmpi.w [A5 - 0x2090], 0x1
00001E10 6604 bne +0x6 /* 00001E16 */
00001E12 7001 moveq.l D0, 0x01
00001E14 604E bra +0x50 /* 00001E64 */
label00001E16:
00001E16 0C6D 0002 DF70 cmpi.w [A5 - 0x2090], 0x2
00001E1C 6604 bne +0x6 /* 00001E22 */
00001E1E 7001 moveq.l D0, 0x01
00001E20 6042 bra +0x44 /* 00001E64 */
label00001E22:
00001E22 0C6D 0005 DF70 cmpi.w [A5 - 0x2090], 0x5
00001E28 6638 bne +0x3A /* 00001E62 */
00001E2A 2F2D DF74 move.l -[A7], [A5 - 0x208C]
00001E2E 486E FFF0 pea.l [A6 - 0x10]
00001E32 A990 syscall GetDialogItemText/GetIText
00001E34 486E FFF0 pea.l [A6 - 0x10]
00001E38 1F3C 0001 move.b -[A7], 0x1
00001E3C 4EBA 1C7E jsr [PC + 0x1C7E /* 00003ABC */]
00001E40 0C2E 000A FFF0 cmpi.b [A6 - 0x10], 0xA /* '\n' */
00001E46 6F0C ble +0xE /* 00001E54 */
00001E48 1D7C 000A FFF0 move.b [A6 - 0x10], 0xA /* '\n' */
00001E4E 3F3C 0001 move.w -[A7], 0x1
00001E52 A9C8 syscall SysBeep
label00001E54:
00001E54 2F2D DF74 move.l -[A7], [A5 - 0x208C]
00001E58 486E FFF0 pea.l [A6 - 0x10]
00001E5C A98F syscall SetDialogItemText/SetIText
00001E5E 7000 moveq.l D0, 0x00
00001E60 6002 bra +0x4 /* 00001E64 */
label00001E62:
00001E62 7000 moveq.l D0, 0x00
label00001E64:
00001E64 4E5E unlink A6
00001E66 4E75 rts
export_37:
00001E68 4E56 FFDC link A6, -0x0024
00001E6C 2F07 move.l -[A7], D7
00001E6E 0C6D 0001 DF70 cmpi.w [A5 - 0x2090], 0x1
00001E74 6600 00E2 bne +0xE4 /* 00001F58 */
00001E78 486D D1BC pea.l [A5 - 0x2E44]
00001E7C 486D CFE6 pea.l [A5 - 0x301A]
00001E80 4EBA 0AA2 jsr [PC + 0xAA2 /* 00002924 */]
00001E84 2EAD DF6C move.l [A7], [A5 - 0x2094]
00001E88 3F3C 0005 move.w -[A7], 0x5
00001E8C 486D DF72 pea.l [A5 - 0x208E]
00001E90 486D DF74 pea.l [A5 - 0x208C]
00001E94 486D DF78 pea.l [A5 - 0x2088]
00001E98 A98D syscall GetDialogItem/GetDItem
00001E9A 2EAD DF74 move.l [A7], [A5 - 0x208C]
00001E9E 486E FFF0 pea.l [A6 - 0x10]
00001EA2 A990 syscall GetDialogItemText/GetIText
00001EA4 102E FFF0 move.b D0, [A6 - 0x10]
00001EA8 4880 ext.w D0
00001EAA 3040 movea.w A0, D0
00001EAC 2F08 move.l -[A7], A0
00001EAE 486D D1BC pea.l [A5 - 0x2E44]
00001EB2 486E FFF1 pea.l [A6 - 0xF]
00001EB6 4EBA 0A50 jsr [PC + 0xA50 /* 00002908 */]
00001EBA 2EAD DF6C move.l [A7], [A5 - 0x2094]
00001EBE 4878 0005 push.l 0x5
00001EC2 3F3C 7FFF move.w -[A7], 0x7FFF
00001EC6 A97E syscall SelectDialogItemText/SelIText
00001EC8 2EAD DF6C move.l [A7], [A5 - 0x2094]
00001ECC 3F3C 0001 move.w -[A7], 0x1
00001ED0 A827 syscall HideDialogItem/HideDItem
00001ED2 2EAD DF6C move.l [A7], [A5 - 0x2094]
00001ED6 3F3C 0002 move.w -[A7], 0x2
00001EDA A827 syscall HideDialogItem/HideDItem
00001EDC 4EAD 02AA jsr [A5 + 0x2AA /* export_81 */]
00001EE0 4A00 tst.b D0
00001EE2 6752 beq +0x54 /* 00001F36 */
00001EE4 4878 0001 push.l 0x1
00001EE8 486E FFF0 pea.l [A6 - 0x10]
00001EEC 4EBA 1D72 jsr [PC + 0x1D72 /* 00003C60 */]
00001EF0 1D7C 0008 FFE0 move.b [A6 - 0x20], 0x8
00001EF6 102E FFE0 move.b D0, [A6 - 0x20]
00001EFA 4880 ext.w D0
00001EFC 3040 movea.w A0, D0
00001EFE 2F08 move.l -[A7], A0
00001F00 486E FFE1 pea.l [A6 - 0x1F]
00001F04 302D DFF2 move.w D0, [A5 - 0x200E]
00001F08 204D movea.l A0, A5
00001F0A 48C0 ext.l D0
00001F0C E588 lsl D0, 2
00001F0E D1C0 add.l A0, D0
00001F10 2F28 D0DA move.l -[A7], [A0 - 0x2F26]
00001F14 4EBA 09F2 jsr [PC + 0x9F2 /* 00002908 */]
00001F18 486E FFF0 pea.l [A6 - 0x10]
00001F1C 486E FFE0 pea.l [A6 - 0x20]
00001F20 42A7 clr.l -[A7]
00001F22 42A7 clr.l -[A7]
00001F24 A98B syscall ParamText
00001F26 7E06 moveq.l D7, 0x06
00001F28 2D7C 0000 00B4 FFDC move.l [A6 - 0x24], 0xB4
00001F30 4FEF 000C lea.l A7, [A7 + 0xC]
00001F34 6008 bra +0xA /* 00001F3E */
label00001F36:
00001F36 7E07 moveq.l D7, 0x07
00001F38 7078 moveq.l D0, 0x78
00001F3A 2D40 FFDC move.l [A6 - 0x24], D0
label00001F3E:
00001F3E 2F2D DF6C move.l -[A7], [A5 - 0x2094]
00001F42 3F07 move.w -[A7], D7
00001F44 A828 syscall ShowDialogItem/ShowDItem
00001F46 2F2D DF6C move.l -[A7], [A5 - 0x2094]
00001F4A A981 syscall DrawDialog
00001F4C 43EE FFDC lea.l A1, [A6 - 0x24]
00001F50 206E FFDC movea.l A0, [A6 - 0x24]
00001F54 A03B syscall Delay
00001F56 2280 move.l [A1], D0
label00001F58:
00001F58 2E1F move.l D7, [A7]+
00001F5A 4E5E unlink A6
00001F5C 4E75 rts
fn00001F5E:
00001F5E 3B7C 0006 CFDC move.w [A5 - 0x3024], 0x6
00001F64 426D DF18 clr.w [A5 - 0x20E8]
00001F68 4E75 rts
fn00001F6A:
00001F6A 4A2D DFBF tst.b [A5 - 0x2041]
00001F6E 6716 beq +0x18 /* 00001F86 */
00001F70 3F3C 03EE move.w -[A7], 0x3EE
00001F74 4EBA 0D04 jsr [PC + 0xD04 /* 00002C7A */]
00001F78 5340 subq.w D0, 1
00001F7A 548F addq.l A7, 2
00001F7C 660E bne +0x10 /* 00001F8C */
00001F7E 1B7C 0001 CE67 move.b [A5 - 0x3199], 0x1
00001F84 6006 bra +0x8 /* 00001F8C */
label00001F86:
00001F86 1B7C 0001 CE67 move.b [A5 - 0x3199], 0x1
label00001F8C:
00001F8C 4A2D CE67 tst.b [A5 - 0x3199]
00001F90 670A beq +0xC /* 00001F9C */
00001F92 3B7C 000A CFDC move.w [A5 - 0x3024], 0xA /* '\n' */
00001F98 426D DF18 clr.w [A5 - 0x20E8]
label00001F9C:
00001F9C 4E75 rts
fn00001F9E:
00001F9E 4E75 rts
fn00001FA0:
00001FA0 4E75 rts
fn00001FA2:
00001FA2 4E75 rts
fn00001FA4:
00001FA4 4E75 rts
fn00001FA6:
00001FA6 4E75 rts
fn00001FA8:
00001FA8 4E56 0000 link A6, 0
00001FAC 1B6E 0008 DF1A move.b [A5 - 0x20E6], [A6 + 0x8]
00001FB2 2F2D D638 move.l -[A7], [A5 - 0x29C8]
00001FB6 3F3C 0001 move.w -[A7], 0x1
00001FBA 1F2D DF1A move.b -[A7], [A5 - 0x20E6]
00001FBE A945 syscall CheckItem
00001FC0 4E5E unlink A6
00001FC2 4E75 rts
fn00001FC4:
00001FC4 4E56 0000 link A6, 0
00001FC8 48E7 0300 movem.l -[A7], D6,D7
00001FCC 1E2D CFE0 move.b D7, [A5 - 0x3020]
00001FD0 1C2D CFE1 move.b D6, [A5 - 0x301F]
00001FD4 4EBA 1650 jsr [PC + 0x1650 /* 00003626 */]
00001FD8 4EBA 1410 jsr [PC + 0x1410 /* 000033EA */]
00001FDC 1B6E 0008 DF1B move.b [A5 - 0x20E5], [A6 + 0x8]
00001FE2 2F2D D638 move.l -[A7], [A5 - 0x29C8]
00001FE6 3F3C 0003 move.w -[A7], 0x3
00001FEA 1F2D DF1B move.b -[A7], [A5 - 0x20E5]
00001FEE A945 syscall CheckItem
00001FF0 4A07 tst.b D7
00001FF2 6604 bne +0x6 /* 00001FF8 */
00001FF4 4A06 tst.b D6
00001FF6 6712 beq +0x14 /* 0000200A */
label00001FF8:
00001FF8 4EBA 13BC jsr [PC + 0x13BC /* 000033B6 */]
00001FFC 3B6D DF4C DF52 move.w [A5 - 0x20AE], [A5 - 0x20B4]
00002002 4A06 tst.b D6
00002004 6704 beq +0x6 /* 0000200A */
00002006 4EBA 15F0 jsr [PC + 0x15F0 /* 000035F8 */]
label0000200A:
0000200A 4CDF 00C0 movem.l D6,D7, [A7]+
0000200E 4E5E unlink A6
00002010 4E75 rts
fn00002012:
00002012 4E56 0000 link A6, 0
00002016 48E7 0300 movem.l -[A7], D6,D7
0000201A 1E2D CFE0 move.b D7, [A5 - 0x3020]
0000201E 1C2D CFE1 move.b D6, [A5 - 0x301F]
00002022 4EBA 1602 jsr [PC + 0x1602 /* 00003626 */]
00002026 4EBA 13C2 jsr [PC + 0x13C2 /* 000033EA */]
0000202A 1B6E 0008 DF1C move.b [A5 - 0x20E4], [A6 + 0x8]
00002030 2F2D D638 move.l -[A7], [A5 - 0x29C8]
00002034 3F3C 0004 move.w -[A7], 0x4
00002038 1F2D DF1C move.b -[A7], [A5 - 0x20E4]
0000203C A945 syscall CheckItem
0000203E 4A07 tst.b D7
00002040 6604 bne +0x6 /* 00002046 */
00002042 4A06 tst.b D6
00002044 6712 beq +0x14 /* 00002058 */
label00002046:
00002046 4EBA 136E jsr [PC + 0x136E /* 000033B6 */]
0000204A 3B6D DF4C DF52 move.w [A5 - 0x20AE], [A5 - 0x20B4]
00002050 4A06 tst.b D6
00002052 6704 beq +0x6 /* 00002058 */
00002054 4EBA 15A2 jsr [PC + 0x15A2 /* 000035F8 */]
label00002058:
00002058 4CDF 00C0 movem.l D6,D7, [A7]+
0000205C 4E5E unlink A6
0000205E 4E75 rts
fn00002060:
00002060 4E56 FFFE link A6, -0x0002
00002064 1B6E 0008 D6A2 move.b [A5 - 0x295E], [A6 + 0x8]
0000206A 1B6E 0008 D6A4 move.b [A5 - 0x295C], [A6 + 0x8]
00002070 1B6E 0008 D6A3 move.b [A5 - 0x295D], [A6 + 0x8]
00002076 2F2D D638 move.l -[A7], [A5 - 0x29C8]
0000207A 3F3C 0006 move.w -[A7], 0x6
0000207E 1F2D D6A2 move.b -[A7], [A5 - 0x295E]
00002082 A945 syscall CheckItem
00002084 4E5E unlink A6
00002086 4E75 rts
fn00002088:
00002088 302D DF18 move.w D0, [A5 - 0x20E8]
0000208C 526D DF18 addq.w [A5 - 0x20E8], 1
00002090 0C40 0009 cmpi.w D0, 0x9 /* '\t' */
00002094 6200 012E bhi +0x130 /* 000021C4 */
00002098 43FA 0136 lea.l A1, [PC + 0x136 /* 000021D0, value 0xFED4FF0C */]
0000209C D040 add.w D0, D0
0000209E D2F1 0000 add.w A1, [A1 + D0.w]
000020A2 4ED1 jmp [A1]
000020A4 2F2D D630 move.l -[A7], [A5 - 0x29D0]
000020A8 4267 clr.w -[A7]
000020AA A93A syscall DisableItem
000020AC 2F2D D638 move.l -[A7], [A5 - 0x29C8]
000020B0 4267 clr.w -[A7]
000020B2 A93A syscall DisableItem
000020B4 302D D6AA move.w D0, [A5 - 0x2956]
000020B8 0640 044C addi.w D0, 0x44C
000020BC 3F00 move.w -[A7], D0
000020BE 4267 clr.w -[A7]
000020C0 4EAD 023A jsr [A5 + 0x23A /* export_67 */]
000020C4 302D D6AA move.w D0, [A5 - 0x2956]
000020C8 0640 0514 addi.w D0, 0x514
000020CC 3E80 move.w [A7], D0
000020CE 3F3C 0002 move.w -[A7], 0x2
000020D2 4EAD 023A jsr [A5 + 0x23A /* export_67 */]
000020D6 5C8F addq.l A7, 6
000020D8 6000 00F4 bra +0xF6 /* 000021CE */
000020DC 4EAD 0212 jsr [A5 + 0x212 /* export_62 */]
000020E0 6000 00EC bra +0xEE /* 000021CE */
000020E4 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
000020E8 4EBA 0762 jsr [PC + 0x762 /* 0000284C */]
000020EC 3B7C 0078 DF58 move.w [A5 - 0x20A8], 0x78 /* 'x' */
000020F2 2F3C 0000 FFFF move.l -[A7], 0xFFFF
000020F8 201F move.l D0, [A7]+
000020FA A032 syscall FlushEvents
000020FC 548F addq.l A7, 2
000020FE 6000 00CE bra +0xD0 /* 000021CE */
00002102 3F3C 0001 move.w -[A7], 0x1
00002106 4EBA 0772 jsr [PC + 0x772 /* 0000287A */]
0000210A 536D DF58 subq.w [A5 - 0x20A8], 1
0000210E 4A2D D668 tst.b [A5 - 0x2998]
00002112 548F addq.l A7, 2
00002114 6600 00B8 bne +0xBA /* 000021CE */
00002118 4A2D D674 tst.b [A5 - 0x298C]
0000211C 6600 00B0 bne +0xB2 /* 000021CE */
00002120 4A6D DF58 tst.w [A5 - 0x20A8]
00002124 6F00 00A8 ble +0xAA /* 000021CE */
00002128 536D DF18 subq.w [A5 - 0x20E8], 1
0000212C 6000 00A0 bra +0xA2 /* 000021CE */
00002130 3F3C 0010 move.w -[A7], 0x10
00002134 4EBA 06EA jsr [PC + 0x6EA /* 00002820 */]
00002138 548F addq.l A7, 2
0000213A 6000 0092 bra +0x94 /* 000021CE */
0000213E 4EAD 01D2 jsr [A5 + 0x1D2 /* export_54 */]
00002142 3F3C 0008 move.w -[A7], 0x8
00002146 4EBA 0704 jsr [PC + 0x704 /* 0000284C */]
0000214A 2F3C 0000 FFFF move.l -[A7], 0xFFFF
00002150 201F move.l D0, [A7]+
00002152 A032 syscall FlushEvents
00002154 548F addq.l A7, 2
00002156 6076 bra +0x78 /* 000021CE */
00002158 4A2D D668 tst.b [A5 - 0x2998]
0000215C 6606 bne +0x8 /* 00002164 */
0000215E 4A2D D674 tst.b [A5 - 0x298C]
00002162 670C beq +0xE /* 00002170 */
label00002164:
00002164 3F3C 0008 move.w -[A7], 0x8
00002168 4EBA 06B6 jsr [PC + 0x6B6 /* 00002820 */]
0000216C 548F addq.l A7, 2
0000216E 605E bra +0x60 /* 000021CE */
label00002170:
00002170 536D DF18 subq.w [A5 - 0x20E8], 1
00002174 6058 bra +0x5A /* 000021CE */
00002176 4EAD 01DA jsr [A5 + 0x1DA /* export_55 */]
0000217A 3F3C 0008 move.w -[A7], 0x8
0000217E 4EBA 06CC jsr [PC + 0x6CC /* 0000284C */]
00002182 2F3C 0000 FFFF move.l -[A7], 0xFFFF
00002188 201F move.l D0, [A7]+
0000218A A032 syscall FlushEvents
0000218C 548F addq.l A7, 2
0000218E 603E bra +0x40 /* 000021CE */
00002190 4A2D D668 tst.b [A5 - 0x2998]
00002194 6606 bne +0x8 /* 0000219C */
00002196 4A2D D674 tst.b [A5 - 0x298C]
0000219A 670C beq +0xE /* 000021A8 */
label0000219C:
0000219C 3F3C 0008 move.w -[A7], 0x8
000021A0 4EBA 067E jsr [PC + 0x67E /* 00002820 */]
000021A4 548F addq.l A7, 2
000021A6 6026 bra +0x28 /* 000021CE */
label000021A8:
000021A8 536D DF18 subq.w [A5 - 0x20E8], 1
000021AC 6020 bra +0x22 /* 000021CE */
000021AE 4EAD 0242 jsr [A5 + 0x242 /* export_68 */]
000021B2 2F2D D630 move.l -[A7], [A5 - 0x29D0]
000021B6 4267 clr.w -[A7]
000021B8 A939 syscall EnableItem
000021BA 2F2D D638 move.l -[A7], [A5 - 0x29C8]
000021BE 4267 clr.w -[A7]
000021C0 A939 syscall EnableItem
000021C2 600A bra +0xC /* 000021CE */
label000021C4:
000021C4 3B7C 0001 CFDC move.w [A5 - 0x3024], 0x1
000021CA 426D DF18 clr.w [A5 - 0x20E8]
label000021CE:
000021CE 4E75 rts
000021D0 FED4 FF0C .extension 0xED4 <<F/2-3/7>> // unimplemented
000021D4 FF14 .extension 0xF14 <<F/4-5/7>> // unimplemented
000021D6 FF32 .extension 0xF32 <<F/4-5/7>> // unimplemented
000021D8 FF60 .extension 0xF60 <<F/4-5/7>> // unimplemented
000021DA FF6E .extension 0xF6E <<F/4-5/7>> // unimplemented
000021DC FF88 .invalid <<F/6/7>>
000021DE FFA6 .invalid <<F/6/7>>
000021E0 FFC0 .invalid <<F/7/7>>
000021E2 FFDE .invalid <<F/7/7>>
fn000021E4:
000021E4 302D DF18 move.w D0, [A5 - 0x20E8]
000021E8 526D DF18 addq.w [A5 - 0x20E8], 1
000021EC 4A40 tst.w D0
000021EE 6712 beq +0x14 /* 00002202 */
000021F0 6B00 00D4 bmi +0xD6 /* 000022C6 */
000021F4 5540 subq.w D0, 2
000021F6 6700 00BE beq +0xC0 /* 000022B6 */
000021FA 6A00 00CA bpl +0xCC /* 000022C6 */
000021FE 6000 008C bra +0x8E /* 0000228C */
label00002202:
00002202 2F2D D630 move.l -[A7], [A5 - 0x29D0]
00002206 3F3C 0001 move.w -[A7], 0x1
0000220A A939 syscall EnableItem
0000220C 2F2D D630 move.l -[A7], [A5 - 0x29D0]
00002210 3F3C 0002 move.w -[A7], 0x2
00002214 A93A syscall DisableItem
00002216 2F2D D630 move.l -[A7], [A5 - 0x29D0]
0000221A 3F3C 0004 move.w -[A7], 0x4
0000221E A939 syscall EnableItem
00002220 2F2D D630 move.l -[A7], [A5 - 0x29D0]
00002224 3F3C 0005 move.w -[A7], 0x5
00002228 A93A syscall DisableItem
0000222A 4227 clr.b -[A7]
0000222C 4EBA FD7A jsr [PC - 0x286 /* 00001FA8 */]
00002230 2F2D D638 move.l -[A7], [A5 - 0x29C8]
00002234 3F3C 0001 move.w -[A7], 0x1
00002238 A93A syscall DisableItem
0000223A 2F2D D638 move.l -[A7], [A5 - 0x29C8]
0000223E 3F3C 0006 move.w -[A7], 0x6
00002242 A939 syscall EnableItem
00002244 302D D6AA move.w D0, [A5 - 0x2956]
00002248 0640 04B0 addi.w D0, 0x4B0
0000224C 3E80 move.w [A7], D0
0000224E 4267 clr.w -[A7]
00002250 4EAD 023A jsr [A5 + 0x23A /* export_67 */]
00002254 2EBC 0001 04E2 move.l [A7], 0x104E2
0000225A 4EAD 023A jsr [A5 + 0x23A /* export_67 */]
0000225E 302D D6AA move.w D0, [A5 - 0x2956]
00002262 0640 0514 addi.w D0, 0x514
00002266 3E80 move.w [A7], D0
00002268 3F3C 0002 move.w -[A7], 0x2
0000226C 4EAD 023A jsr [A5 + 0x23A /* export_67 */]
00002270 3B7C FFFF DFE0 move.w [A5 - 0x2020], 0xFFFF
00002276 3B7C FFFF DFDE move.w [A5 - 0x2022], 0xFFFF
0000227C 426D DFC2 clr.w [A5 - 0x203E]
00002280 426D DFF2 clr.w [A5 - 0x200E]
00002284 422D DFBF clr.b [A5 - 0x2041]
00002288 5C8F addq.l A7, 6
0000228A 6044 bra +0x46 /* 000022D0 */
label0000228C:
0000228C 3B6D D902 FF68 move.w [A5 - 0x98], [A5 - 0x26FE]
00002292 1F3C 0001 move.b -[A7], 0x1
00002296 4EAD 01CA jsr [A5 + 0x1CA /* export_53 */]
0000229A 1EBC 0001 move.b [A7], 0x1
0000229E 4EAD 01FA jsr [A5 + 0x1FA /* export_59 */]
000022A2 1EBC 0001 move.b [A7], 0x1
000022A6 4EAD 0202 jsr [A5 + 0x202 /* export_60 */]
000022AA 1EBC 0001 move.b [A7], 0x1
000022AE 4EAD 020A jsr [A5 + 0x20A /* export_61 */]
000022B2 548F addq.l A7, 2
000022B4 601A bra +0x1C /* 000022D0 */
label000022B6:
000022B6 3F3C 0008 move.w -[A7], 0x8
000022BA 4EBA 0590 jsr [PC + 0x590 /* 0000284C */]
000022BE 4EBA FA6E jsr [PC - 0x592 /* 00001D2E */]
000022C2 548F addq.l A7, 2
000022C4 600A bra +0xC /* 000022D0 */
label000022C6:
000022C6 3B7C 0002 CFDC move.w [A5 - 0x3024], 0x2
000022CC 426D DF18 clr.w [A5 - 0x20E8]
label000022D0:
000022D0 4E75 rts
fn000022D2:
000022D2 302D DF18 move.w D0, [A5 - 0x20E8]
000022D6 526D DF18 addq.w [A5 - 0x20E8], 1
000022DA 4A40 tst.w D0
000022DC 670A beq +0xC /* 000022E8 */
000022DE 6B4A bmi +0x4C /* 0000232A */
000022E0 5540 subq.w D0, 2
000022E2 6740 beq +0x42 /* 00002324 */
000022E4 6A44 bpl +0x46 /* 0000232A */
000022E6 6030 bra +0x32 /* 00002318 */
label000022E8:
000022E8 4227 clr.b -[A7]
000022EA 4EAD 01FA jsr [A5 + 0x1FA /* export_59 */]
000022EE 4217 clr.b [A7]
000022F0 4EAD 0202 jsr [A5 + 0x202 /* export_60 */]
000022F4 4217 clr.b [A7]
000022F6 4EAD 020A jsr [A5 + 0x20A /* export_61 */]
000022FA 3EBC 0002 move.w [A7], 0x2
000022FE 4EBA 057A jsr [PC + 0x57A /* 0000287A */]
00002302 486D D8C2 pea.l [A5 - 0x273E]
00002306 4EBA 0DA6 jsr [PC + 0xDA6 /* 000030AE */]
0000230A 4A2D DFBF tst.b [A5 - 0x2041]
0000230E 5C8F addq.l A7, 6
00002310 6622 bne +0x24 /* 00002334 */
00002312 536D DF18 subq.w [A5 - 0x20E8], 1
00002316 601C bra +0x1E /* 00002334 */
label00002318:
00002318 3F3C 0008 move.w -[A7], 0x8
0000231C 4EBA 0502 jsr [PC + 0x502 /* 00002820 */]
00002320 548F addq.l A7, 2
00002322 6010 bra +0x12 /* 00002334 */
label00002324:
00002324 4EAD 0242 jsr [A5 + 0x242 /* export_68 */]
00002328 600A bra +0xC /* 00002334 */
label0000232A:
0000232A 3B7C 0003 CFDC move.w [A5 - 0x3024], 0x3
00002330 426D DF18 clr.w [A5 - 0x20E8]
label00002334:
00002334 4E75 rts
fn00002336:
00002336 302D DF18 move.w D0, [A5 - 0x20E8]
0000233A 526D DF18 addq.w [A5 - 0x20E8], 1
0000233E 0C40 0007 cmpi.w D0, 0x7
00002342 6200 0118 bhi +0x11A /* 0000245C */
00002346 43FA 0120 lea.l A1, [PC + 0x120 /* 00002468, value 0xFEEAFF4E */]
0000234A D040 add.w D0, D0
0000234C D2F1 0000 add.w A1, [A1 + D0.w]
00002350 4ED1 jmp [A1]
00002352 2F2D D630 move.l -[A7], [A5 - 0x29D0]
00002356 3F3C 0001 move.w -[A7], 0x1
0000235A A93A syscall DisableItem
0000235C 2F2D D630 move.l -[A7], [A5 - 0x29D0]
00002360 3F3C 0002 move.w -[A7], 0x2
00002364 A939 syscall EnableItem
00002366 2F2D D630 move.l -[A7], [A5 - 0x29D0]
0000236A 3F3C 0004 move.w -[A7], 0x4
0000236E A93A syscall DisableItem
00002370 2F2D D630 move.l -[A7], [A5 - 0x29D0]
00002374 3F3C 0005 move.w -[A7], 0x5
00002378 A93A syscall DisableItem
0000237A 4227 clr.b -[A7]
0000237C 4EBA FC2A jsr [PC - 0x3D6 /* 00001FA8 */]
00002380 2F2D D638 move.l -[A7], [A5 - 0x29C8]
00002384 3F3C 0001 move.w -[A7], 0x1
00002388 A939 syscall EnableItem
0000238A 2F2D D638 move.l -[A7], [A5 - 0x29C8]
0000238E 3F3C 0006 move.w -[A7], 0x6
00002392 A939 syscall EnableItem
00002394 2F3C 0003 0578 move.l -[A7], 0x30578
0000239A 4EAD 023A jsr [A5 + 0x23A /* export_67 */]
0000239E 302D D6AA move.w D0, [A5 - 0x2956]
000023A2 0640 0514 addi.w D0, 0x514
000023A6 3E80 move.w [A7], D0
000023A8 3F3C 0002 move.w -[A7], 0x2
000023AC 4EAD 023A jsr [A5 + 0x23A /* export_67 */]
000023B0 508F addq.l A7, 8
000023B2 6000 00B2 bra +0xB4 /* 00002466 */
000023B6 302D DFC2 move.w D0, [A5 - 0x203E]
000023BA B06D DFE0 cmp.w D0, [A5 - 0x2020]
000023BE 6700 00A6 beq +0xA8 /* 00002466 */
000023C2 3F2D DFC2 move.w -[A7], [A5 - 0x203E]
000023C6 4EAD 022A jsr [A5 + 0x22A /* export_65 */]
000023CA 3B6D DFC2 DFF2 move.w [A5 - 0x200E], [A5 - 0x203E]
000023D0 548F addq.l A7, 2
000023D2 6000 0092 bra +0x94 /* 00002466 */
000023D6 4EAD 024A jsr [A5 + 0x24A /* export_69 */]
000023DA 422D DFC0 clr.b [A5 - 0x2040]
000023DE 6000 0086 bra +0x88 /* 00002466 */
000023E2 206D D63C movea.l A0, [A5 - 0x29C4]
000023E6 2F10 move.l -[A7], [A0]
000023E8 A851 syscall SetCursor
000023EA 4EAD 0172 jsr [A5 + 0x172 /* export_42 */]
000023EE 4EAD 017A jsr [A5 + 0x17A /* export_43 */]
000023F2 4EAD 0182 jsr [A5 + 0x182 /* export_44 */]
000023F6 A850 syscall InitCursor
000023F8 606C bra +0x6E /* 00002466 */
000023FA 4EAD 01E2 jsr [A5 + 0x1E2 /* export_56 */]
000023FE 6066 bra +0x68 /* 00002466 */
00002400 486D D6B0 pea.l [A5 - 0x2950]
00002404 4EBA 0CA8 jsr [PC + 0xCA8 /* 000030AE */]
00002408 1EBC 0001 move.b [A7], 0x1
0000240C 4EAD 01C2 jsr [A5 + 0x1C2 /* export_52 */]
00002410 2EBC 0000 FFFF move.l [A7], 0xFFFF
00002416 201F move.l D0, [A7]+
00002418 A032 syscall FlushEvents
0000241A 604A bra +0x4C /* 00002466 */
0000241C 3F3C 0001 move.w -[A7], 0x1
00002420 4EBA 0458 jsr [PC + 0x458 /* 0000287A */]
00002424 4217 clr.b [A7]
00002426 4EAD 01C2 jsr [A5 + 0x1C2 /* export_52 */]
0000242A 4A2D D668 tst.b [A5 - 0x2998]
0000242E 548F addq.l A7, 2
00002430 6634 bne +0x36 /* 00002466 */
00002432 4A2D D674 tst.b [A5 - 0x298C]
00002436 662E bne +0x30 /* 00002466 */
00002438 536D DF18 subq.w [A5 - 0x20E8], 1
0000243C 6028 bra +0x2A /* 00002466 */
0000243E 486D D6B0 pea.l [A5 - 0x2950]
00002442 42A7 clr.l -[A7]
00002444 4EAD 02BA jsr [A5 + 0x2BA /* export_83 */]
00002448 3EAD D902 move.w [A7], [A5 - 0x26FE]
0000244C 486D D6B0 pea.l [A5 - 0x2950]
00002450 206D FFE8 movea.l A0, [A5 - 0x18]
00002454 4E90 jsr [A0]
00002456 4FEF 000C lea.l A7, [A7 + 0xC]
0000245A 600A bra +0xC /* 00002466 */
label0000245C:
0000245C 3B7C 0004 CFDC move.w [A5 - 0x3024], 0x4
00002462 426D DF18 clr.w [A5 - 0x20E8]
label00002466:
00002466 4E75 rts
00002468 FEEA FF4E .extension 0xEEA <<F/2-3/7>> // unimplemented
0000246C FF6E .extension 0xF6E <<F/4-5/7>> // unimplemented
0000246E FF7A .extension 0xF7A <<F/4-5/7>> // unimplemented
00002470 FF92 .invalid <<F/6/7>>
00002472 FF98 .invalid <<F/6/7>>
00002474 FFB4 .invalid <<F/6/7>>
00002476 FFD6 .invalid <<F/7/7>>
fn00002478:
00002478 302D DF18 move.w D0, [A5 - 0x20E8]
0000247C 526D DF18 addq.w [A5 - 0x20E8], 1
00002480 4A40 tst.w D0
00002482 670E beq +0x10 /* 00002492 */
00002484 6B5C bmi +0x5E /* 000024E2 */
00002486 5740 subq.w D0, 3
00002488 6748 beq +0x4A /* 000024D2 */
0000248A 6A56 bpl +0x58 /* 000024E2 */
0000248C 5240 addq.w D0, 1
0000248E 6A26 bpl +0x28 /* 000024B6 */
00002490 6016 bra +0x18 /* 000024A8 */
label00002492:
00002492 2F2D D630 move.l -[A7], [A5 - 0x29D0]
00002496 3F3C 0005 move.w -[A7], 0x5
0000249A A939 syscall EnableItem
0000249C 2F2D D638 move.l -[A7], [A5 - 0x29C8]
000024A0 3F3C 0006 move.w -[A7], 0x6
000024A4 A93A syscall DisableItem
000024A6 6044 bra +0x46 /* 000024EC */
label000024A8:
000024A8 4EBA 0F0C jsr [PC + 0xF0C /* 000033B6 */]
000024AC 42AD E00E clr.l [A5 - 0x1FF2]
000024B0 426D D666 clr.w [A5 - 0x299A]
000024B4 6036 bra +0x38 /* 000024EC */
label000024B6:
000024B6 206D D63C movea.l A0, [A5 - 0x29C4]
000024BA 2F10 move.l -[A7], [A0]
000024BC A851 syscall SetCursor
000024BE 4EBA 0334 jsr [PC + 0x334 /* 000027F4 */]
000024C2 426D DC16 clr.w [A5 - 0x23EA]
000024C6 426D D914 clr.w [A5 - 0x26EC]
000024CA 4EAD 016A jsr [A5 + 0x16A /* export_41 */]
000024CE A850 syscall InitCursor
000024D0 601A bra +0x1C /* 000024EC */
label000024D2:
000024D2 3F3C 0004 move.w -[A7], 0x4
000024D6 4EBA 0374 jsr [PC + 0x374 /* 0000284C */]
000024DA 4EAD 0222 jsr [A5 + 0x222 /* export_64 */]
000024DE 548F addq.l A7, 2
000024E0 600A bra +0xC /* 000024EC */
label000024E2:
000024E2 3B7C 0005 CFDC move.w [A5 - 0x3024], 0x5
000024E8 426D DF18 clr.w [A5 - 0x20E8]
label000024EC:
000024EC 4E75 rts
fn000024EE:
000024EE 2F07 move.l -[A7], D7
000024F0 4A2D D677 tst.b [A5 - 0x2989]
000024F4 6604 bne +0x6 /* 000024FA */
000024F6 7E01 moveq.l D7, 0x01
000024F8 6002 bra +0x4 /* 000024FC */
label000024FA:
000024FA 7E08 moveq.l D7, 0x08
label000024FC:
000024FC 4EAD 021A jsr [A5 + 0x21A /* export_63 */]
00002500 6016 bra +0x18 /* 00002518 */
label00002502:
00002502 4EAD 0252 jsr [A5 + 0x252 /* export_70 */]
00002506 4EAD 025A jsr [A5 + 0x25A /* export_71 */]
0000250A 4EAD 0152 jsr [A5 + 0x152 /* export_38 */]
0000250E 4EAD 015A jsr [A5 + 0x15A /* export_39 */]
00002512 4EAD 0192 jsr [A5 + 0x192 /* export_46 */]
00002516 5347 subq.w D7, 1
label00002518:
00002518 4A47 tst.w D7
0000251A 66E6 bne -0x18 /* 00002502 */
0000251C 4EAD 018A jsr [A5 + 0x18A /* export_45 */]
00002520 4EAD 019A jsr [A5 + 0x19A /* export_47 */]
00002524 4EAD 0262 jsr [A5 + 0x262 /* export_72 */]
00002528 4EAD 01A2 jsr [A5 + 0x1A2 /* export_48 */]
0000252C 4EAD 01AA jsr [A5 + 0x1AA /* export_49 */]
00002530 4EAD 01BA jsr [A5 + 0x1BA /* export_51 */]
00002534 3F3C 0003 move.w -[A7], 0x3
00002538 4EBA 0340 jsr [PC + 0x340 /* 0000287A */]
0000253C 4EAD 0222 jsr [A5 + 0x222 /* export_64 */]
00002540 4EAD 026A jsr [A5 + 0x26A /* export_73 */]
00002544 4EBA 0F80 jsr [PC + 0xF80 /* 000034C6 */]
00002548 4EBA 0FE2 jsr [PC + 0xFE2 /* 0000352C */]
0000254C 4A2D DFBC tst.b [A5 - 0x2044]
00002550 548F addq.l A7, 2
00002552 6606 bne +0x8 /* 0000255A */
00002554 4A2D DFBE tst.b [A5 - 0x2042]
00002558 670A beq +0xC /* 00002564 */
label0000255A:
0000255A 3B7C 0006 CFDC move.w [A5 - 0x3024], 0x6
00002560 426D DF18 clr.w [A5 - 0x20E8]
label00002564:
00002564 2E1F move.l D7, [A7]+
00002566 4E75 rts
fn00002568:
00002568 302D DF18 move.w D0, [A5 - 0x20E8]
0000256C 526D DF18 addq.w [A5 - 0x20E8], 1
00002570 4A40 tst.w D0
00002572 670A beq +0xC /* 0000257E */
00002574 6B76 bmi +0x78 /* 000025EC */
00002576 5540 subq.w D0, 2
00002578 675A beq +0x5C /* 000025D4 */
0000257A 6A70 bpl +0x72 /* 000025EC */
0000257C 603A bra +0x3C /* 000025B8 */
label0000257E:
0000257E 302D DFC6 move.w D0, [A5 - 0x203A]
00002582 B06D DFC8 cmp.w D0, [A5 - 0x2038]
00002586 6D26 blt +0x28 /* 000025AE */
00002588 4EAD 0232 jsr [A5 + 0x232 /* export_66 */]
0000258C 526D DFC2 addq.w [A5 - 0x203E], 1
00002590 302D DFC2 move.w D0, [A5 - 0x203E]
00002594 48C0 ext.l D0
00002596 81FC 001E divs.w D0, 0x1E
0000259A 3B40 DFF2 move.w [A5 - 0x200E], D0
0000259E 4EAD 02A2 jsr [A5 + 0x2A2 /* export_80 */]
000025A2 426D CFE4 clr.w [A5 - 0x301C]
000025A6 1B7C 0001 DFC0 move.b [A5 - 0x2040], 0x1
000025AC 6068 bra +0x6A /* 00002616 */
label000025AE:
000025AE 526D CFE4 addq.w [A5 - 0x301C], 1
000025B2 422D DFC0 clr.b [A5 - 0x2040]
000025B6 605E bra +0x60 /* 00002616 */
label000025B8:
000025B8 A850 syscall InitCursor
000025BA 426D D666 clr.w [A5 - 0x299A]
000025BE 2F2D D630 move.l -[A7], [A5 - 0x29D0]
000025C2 3F3C 0005 move.w -[A7], 0x5
000025C6 A93A syscall DisableItem
000025C8 2F2D D638 move.l -[A7], [A5 - 0x29C8]
000025CC 3F3C 0006 move.w -[A7], 0x6
000025D0 A939 syscall EnableItem
000025D2 6042 bra +0x44 /* 00002616 */
label000025D4:
000025D4 3F3C 0010 move.w -[A7], 0x10
000025D8 4EBA 0F7C jsr [PC + 0xF7C /* 00003556 */]
000025DC 3EBC 0010 move.w [A7], 0x10
000025E0 4EBA 023E jsr [PC + 0x23E /* 00002820 */]
000025E4 4EBA 0E04 jsr [PC + 0xE04 /* 000033EA */]
000025E8 548F addq.l A7, 2
000025EA 602A bra +0x2C /* 00002616 */
label000025EC:
000025EC 0C6D 0078 DFC2 cmpi.w [A5 - 0x203E], 0x78 /* 'x' */
000025F2 6C18 bge +0x1A /* 0000260C */
000025F4 302D DFC2 move.w D0, [A5 - 0x203E]
000025F8 204D movea.l A0, A5
000025FA D0C0 add.w A0, D0
000025FC D0C0 add.w A0, D0
000025FE 4A68 E012 tst.w [A0 - 0x1FEE]
00002602 6F08 ble +0xA /* 0000260C */
00002604 3B7C 0007 CFDC move.w [A5 - 0x3024], 0x7
0000260A 6006 bra +0x8 /* 00002612 */
label0000260C:
0000260C 3B7C 0008 CFDC move.w [A5 - 0x3024], 0x8
label00002612:
00002612 426D DF18 clr.w [A5 - 0x20E8]
label00002616:
00002616 4E75 rts
fn00002618:
00002618 302D DF18 move.w D0, [A5 - 0x20E8]
0000261C 526D DF18 addq.w [A5 - 0x20E8], 1
00002620 4A40 tst.w D0
00002622 670E beq +0x10 /* 00002632 */
00002624 6B50 bmi +0x52 /* 00002676 */
00002626 5740 subq.w D0, 3
00002628 6746 beq +0x48 /* 00002670 */
0000262A 6A4A bpl +0x4C /* 00002676 */
0000262C 5240 addq.w D0, 1
0000262E 6A22 bpl +0x24 /* 00002652 */
00002630 6006 bra +0x8 /* 00002638 */
label00002632:
00002632 4EBA 01C0 jsr [PC + 0x1C0 /* 000027F4 */]
00002636 6048 bra +0x4A /* 00002680 */
label00002638:
00002638 4EAD 01EA jsr [A5 + 0x1EA /* export_57 */]
0000263C 3F3C 0008 move.w -[A7], 0x8
00002640 4EBA 020A jsr [PC + 0x20A /* 0000284C */]
00002644 2F3C 0000 FFFF move.l -[A7], 0xFFFF
0000264A 201F move.l D0, [A7]+
0000264C A032 syscall FlushEvents
0000264E 548F addq.l A7, 2
00002650 602E bra +0x30 /* 00002680 */
label00002652:
00002652 4A2D D668 tst.b [A5 - 0x2998]
00002656 6606 bne +0x8 /* 0000265E */
00002658 4A2D D674 tst.b [A5 - 0x298C]
0000265C 670C beq +0xE /* 0000266A */
label0000265E:
0000265E 3F3C 0004 move.w -[A7], 0x4
00002662 4EBA 01BC jsr [PC + 0x1BC /* 00002820 */]
00002666 548F addq.l A7, 2
00002668 6016 bra +0x18 /* 00002680 */
label0000266A:
0000266A 536D DF18 subq.w [A5 - 0x20E8], 1
0000266E 6010 bra +0x12 /* 00002680 */
label00002670:
00002670 4EBA F6BC jsr [PC - 0x944 /* 00001D2E */]
00002674 600A bra +0xC /* 00002680 */
label00002676:
00002676 3B7C 0003 CFDC move.w [A5 - 0x3024], 0x3
0000267C 426D DF18 clr.w [A5 - 0x20E8]
label00002680:
00002680 4E75 rts
fn00002682:
00002682 302D DF18 move.w D0, [A5 - 0x20E8]
00002686 526D DF18 addq.w [A5 - 0x20E8], 1
0000268A 4A40 tst.w D0
0000268C 670A beq +0xC /* 00002698 */
0000268E 6B66 bmi +0x68 /* 000026F6 */
00002690 5540 subq.w D0, 2
00002692 6734 beq +0x36 /* 000026C8 */
00002694 6A60 bpl +0x62 /* 000026F6 */
00002696 6006 bra +0x8 /* 0000269E */
label00002698:
00002698 4EBA 015A jsr [PC + 0x15A /* 000027F4 */]
0000269C 6062 bra +0x64 /* 00002700 */
label0000269E:
0000269E 2F2D D630 move.l -[A7], [A5 - 0x29D0]
000026A2 4267 clr.w -[A7]
000026A4 A93A syscall DisableItem
000026A6 2F2D D638 move.l -[A7], [A5 - 0x29C8]
000026AA 4267 clr.w -[A7]
000026AC A93A syscall DisableItem
000026AE 4EAD 01F2 jsr [A5 + 0x1F2 /* export_58 */]
000026B2 3F3C 0008 move.w -[A7], 0x8
000026B6 4EBA 0194 jsr [PC + 0x194 /* 0000284C */]
000026BA 2F3C 0000 FFFF move.l -[A7], 0xFFFF
000026C0 201F move.l D0, [A7]+
000026C2 A032 syscall FlushEvents
000026C4 548F addq.l A7, 2
000026C6 6038 bra +0x3A /* 00002700 */
label000026C8:
000026C8 4A2D D668 tst.b [A5 - 0x2998]
000026CC 6606 bne +0x8 /* 000026D4 */
000026CE 4A2D D674 tst.b [A5 - 0x298C]
000026D2 671C beq +0x1E /* 000026F0 */
label000026D4:
000026D4 3F3C 0010 move.w -[A7], 0x10
000026D8 4EBA 0146 jsr [PC + 0x146 /* 00002820 */]
000026DC 2F2D D630 move.l -[A7], [A5 - 0x29D0]
000026E0 4267 clr.w -[A7]
000026E2 A939 syscall EnableItem
000026E4 2F2D D638 move.l -[A7], [A5 - 0x29C8]
000026E8 4267 clr.w -[A7]
000026EA A939 syscall EnableItem
000026EC 548F addq.l A7, 2
000026EE 6010 bra +0x12 /* 00002700 */
label000026F0:
000026F0 536D DF18 subq.w [A5 - 0x20E8], 1
000026F4 600A bra +0xC /* 00002700 */
label000026F6:
000026F6 3B7C 0009 CFDC move.w [A5 - 0x3024], 0x9 /* '\t' */
000026FC 426D DF18 clr.w [A5 - 0x20E8]
label00002700:
00002700 4E75 rts
fn00002702:
00002702 302D DF18 move.w D0, [A5 - 0x20E8]
00002706 526D DF18 addq.w [A5 - 0x20E8], 1
0000270A 4A40 tst.w D0
0000270C 6708 beq +0xA /* 00002716 */
0000270E 6B24 bmi +0x26 /* 00002734 */
00002710 5540 subq.w D0, 2
00002712 6A20 bpl +0x22 /* 00002734 */
00002714 6010 bra +0x12 /* 00002726 */
label00002716:
00002716 4EBA 0CD2 jsr [PC + 0xCD2 /* 000033EA */]
0000271A 4EBA 00D8 jsr [PC + 0xD8 /* 000027F4 */]
0000271E A850 syscall InitCursor
00002720 426D D666 clr.w [A5 - 0x299A]
00002724 6018 bra +0x1A /* 0000273E */
label00002726:
00002726 4EAD 0232 jsr [A5 + 0x232 /* export_66 */]
0000272A 4EAD 0242 jsr [A5 + 0x242 /* export_68 */]
0000272E 422D DFBF clr.b [A5 - 0x2041]
00002732 600A bra +0xC /* 0000273E */
label00002734:
00002734 3B7C 0001 CFDC move.w [A5 - 0x3024], 0x1
0000273A 426D DF18 clr.w [A5 - 0x20E8]
label0000273E:
0000273E 4E75 rts
fn00002740:
00002740 302D DF18 move.w D0, [A5 - 0x20E8]
00002744 526D DF18 addq.w [A5 - 0x20E8], 1
00002748 4A40 tst.w D0
0000274A 671A beq +0x1C /* 00002766 */
0000274C 6B00 009E bmi +0xA0 /* 000027EC */
00002750 5740 subq.w D0, 3
00002752 6774 beq +0x76 /* 000027C8 */
00002754 6A06 bpl +0x8 /* 0000275C */
00002756 5240 addq.w D0, 1
00002758 6A44 bpl +0x46 /* 0000279E */
0000275A 6022 bra +0x24 /* 0000277E */
label0000275C:
0000275C 5540 subq.w D0, 2
0000275E 6A00 008C bpl +0x8E /* 000027EC */
00002762 6000 0082 bra +0x84 /* 000027E6 */
label00002766:
00002766 4EBA 0C82 jsr [PC + 0xC82 /* 000033EA */]
0000276A 4EBA 0088 jsr [PC + 0x88 /* 000027F4 */]
0000276E A850 syscall InitCursor
00002770 426D D666 clr.w [A5 - 0x299A]
00002774 4EAD 0232 jsr [A5 + 0x232 /* export_66 */]
00002778 4EAD 0242 jsr [A5 + 0x242 /* export_68 */]
0000277C 6074 bra +0x76 /* 000027F2 */
label0000277E:
0000277E 2F3C 0003 0578 move.l -[A7], 0x30578
00002784 4EAD 023A jsr [A5 + 0x23A /* export_67 */]
00002788 302D D6AA move.w D0, [A5 - 0x2956]
0000278C 0640 0514 addi.w D0, 0x514
00002790 3E80 move.w [A7], D0
00002792 3F3C 0002 move.w -[A7], 0x2
00002796 4EAD 023A jsr [A5 + 0x23A /* export_67 */]
0000279A 5C8F addq.l A7, 6
0000279C 6054 bra +0x56 /* 000027F2 */
label0000279E:
0000279E 2F2D D630 move.l -[A7], [A5 - 0x29D0]
000027A2 4267 clr.w -[A7]
000027A4 A93A syscall DisableItem
000027A6 2F2D D638 move.l -[A7], [A5 - 0x29C8]
000027AA 4267 clr.w -[A7]
000027AC A93A syscall DisableItem
000027AE 4EAD 01DA jsr [A5 + 0x1DA /* export_55 */]
000027B2 3F3C 0004 move.w -[A7], 0x4
000027B6 4EBA 0094 jsr [PC + 0x94 /* 0000284C */]
000027BA 2F3C 0000 FFFF move.l -[A7], 0xFFFF
000027C0 201F move.l D0, [A7]+
000027C2 A032 syscall FlushEvents
000027C4 548F addq.l A7, 2
000027C6 602A bra +0x2C /* 000027F2 */
label000027C8:
000027C8 4A2D D668 tst.b [A5 - 0x2998]
000027CC 6606 bne +0x8 /* 000027D4 */
000027CE 4A2D D674 tst.b [A5 - 0x298C]
000027D2 670C beq +0xE /* 000027E0 */
label000027D4:
000027D4 3F3C 0004 move.w -[A7], 0x4
000027D8 4EBA 0046 jsr [PC + 0x46 /* 00002820 */]
000027DC 548F addq.l A7, 2
000027DE 6012 bra +0x14 /* 000027F2 */
label000027E0:
000027E0 536D DF18 subq.w [A5 - 0x20E8], 1
000027E4 600C bra +0xE /* 000027F2 */
label000027E6:
000027E6 4EAD 0242 jsr [A5 + 0x242 /* export_68 */]
000027EA 6006 bra +0x8 /* 000027F2 */
label000027EC:
000027EC 1B7C 0001 CE68 move.b [A5 - 0x3198], 0x1
label000027F2:
000027F2 4E75 rts
fn000027F4:
000027F4 486D D6B0 pea.l [A5 - 0x2950]
000027F8 42A7 clr.l -[A7]
000027FA 4EAD 02BA jsr [A5 + 0x2BA /* export_83 */]
000027FE 3EAD D902 move.w [A7], [A5 - 0x26FE]
00002802 486D D6B0 pea.l [A5 - 0x2950]
00002806 206D FFE8 movea.l A0, [A5 - 0x18]
0000280A 4E90 jsr [A0]
0000280C 426D D914 clr.w [A5 - 0x26EC]
00002810 426D DC16 clr.w [A5 - 0x23EA]
00002814 486D D6B0 pea.l [A5 - 0x2950]
00002818 A8A2 syscall PaintRect
0000281A 4FEF 000C lea.l A7, [A7 + 0xC]
0000281E 4E75 rts
fn00002820:
00002820 4E56 0000 link A6, 0
00002824 203C 0000 0100 move.l D0, 0x100
0000282A 81EE 0008 divs.w D0, [A6 + 0x8]
0000282E 4440 neg.w D0
00002830 3F00 move.w -[A7], D0
00002832 3F2E 0008 move.w -[A7], [A6 + 0x8]
00002836 4EBA 0966 jsr [PC + 0x966 /* 0000319E */]
0000283A 4EBA FFB8 jsr [PC - 0x48 /* 000027F4 */]
0000283E 2EBC 0001 0100 move.l [A7], 0x10100
00002844 4EBA 0958 jsr [PC + 0x958 /* 0000319E */]
00002848 4E5E unlink A6
0000284A 4E75 rts
fn0000284C:
0000284C 4E56 0000 link A6, 0
00002850 2F3C 0001 FF00 move.l -[A7], 0x1FF00
00002856 4EBA 0946 jsr [PC + 0x946 /* 0000319E */]
0000285A 486D D6B0 pea.l [A5 - 0x2950]
0000285E 4EBA 084E jsr [PC + 0x84E /* 000030AE */]
00002862 203C 0000 0100 move.l D0, 0x100
00002868 81EE 0008 divs.w D0, [A6 + 0x8]
0000286C 3E80 move.w [A7], D0
0000286E 3F2E 0008 move.w -[A7], [A6 + 0x8]
00002872 4EBA 092A jsr [PC + 0x92A /* 0000319E */]
00002876 4E5E unlink A6
00002878 4E75 rts
fn0000287A:
0000287A 4E56 0000 link A6, 0
0000287E 2F07 move.l -[A7], D7
00002880 306E 0008 movea.w A0, [A6 + 0x8]
00002884 D1ED D616 add.l A0, [A5 - 0x29EA]
00002888 2E08 move.l D7, A0
label0000288A:
0000288A 42A7 clr.l -[A7]
0000288C A975 syscall TickCount
0000288E BE9F cmp.l D7, [A7]+
00002890 64F8 bcc -0x6 /* 0000288A */
00002892 2E1F move.l D7, [A7]+
00002894 4E5E unlink A6
00002896 4E75 rts
export_10:
fn00002898:
00002898 4E56 0000 link A6, 0
0000289C 202D CE92 move.l D0, [A5 - 0x316E]
000028A0 2200 move.l D1, D0
000028A2 242D CE96 move.l D2, [A5 - 0x316A]
000028A6 B540 xor.w D0, D2
000028A8 5E42 addq.w D2, 7
000028AA 4841 swap.w D1
000028AC D041 add.w D0, D1
000028AE 4842 swap.w D2
000028B0 C0C2 mulu.w D0, D2
000028B2 E75A rol D2.w, 3
000028B4 4842 swap.w D2
000028B6 2B42 CE96 move.l [A5 - 0x316A], D2
000028BA 2B40 CE92 move.l [A5 - 0x316E], D0
000028BE 4841 swap.w D1
000028C0 D041 add.w D0, D1
000028C2 322E 0008 move.w D1, [A6 + 0x8]
000028C6 5241 addq.w D1, 1
000028C8 C0C1 mulu.w D0, D1
000028CA 4240 clr.w D0
000028CC 4840 swap.w D0
000028CE 4E5E unlink A6
000028D0 4E75 rts
export_11:
000028D2 4E56 0000 link A6, 0
000028D6 206E 0008 movea.l A0, [A6 + 0x8]
000028DA 222E 000C move.l D1, [A6 + 0xC]
000028DE 2008 move.l D0, A0
000028E0 E248 lsr D0.w, 1
000028E2 6406 bcc +0x8 /* 000028EA */
000028E4 5381 subq.l D1, 1
000028E6 6B1C bmi +0x1E /* 00002904 */
000028E8 4218 clr.b [A0]+
label000028EA:
000028EA 7000 moveq.l D0, 0x00
000028EC 5981 subq.l D1, 4
000028EE 6B06 bmi +0x8 /* 000028F6 */
label000028F0:
000028F0 20C0 move.l [A0]+, D0
000028F2 5981 subq.l D1, 4
000028F4 6AFA bpl -0x4 /* 000028F0 */
label000028F6:
000028F6 5441 addq.w D1, 2
000028F8 6B04 bmi +0x6 /* 000028FE */
000028FA 30C0 move.w [A0]+, D0
000028FC 5541 subq.w D1, 2
label000028FE:
000028FE 5241 addq.w D1, 1
00002900 6B02 bmi +0x4 /* 00002904 */
00002902 10C0 move.b [A0]+, D0
label00002904:
00002904 4E5E unlink A6
00002906 4E75 rts
export_12:
fn00002908:
00002908 4E56 0000 link A6, 0
0000290C 226E 0008 movea.l A1, [A6 + 0x8]
00002910 206E 000C movea.l A0, [A6 + 0xC]
00002914 202E 0010 move.l D0, [A6 + 0x10]
00002918 6002 bra +0x4 /* 0000291C */
label0000291A:
0000291A 10D9 move.b [A0]+, [A1]+
label0000291C:
0000291C 5380 subq.l D0, 1
0000291E 6AFA bpl -0x4 /* 0000291A */
00002920 4E5E unlink A6
00002922 4E75 rts
export_13:
fn00002924:
00002924 4E56 0000 link A6, 0
00002928 226E 0008 movea.l A1, [A6 + 0x8]
0000292C 206E 000C movea.l A0, [A6 + 0xC]
00002930 6002 bra +0x4 /* 00002934 */
label00002932:
00002932 10C0 move.b [A0]+, D0
label00002934:
00002934 1019 move.b D0, [A1]+
00002936 66FA bne -0x4 /* 00002932 */
00002938 4E5E unlink A6
0000293A 4E75 rts
export_14:
0000293C 4E56 FFF8 link A6, -0x0008
00002940 48E7 1F00 movem.l -[A7], D3,D4,D5,D6,D7
00002944 3E2E 000E move.w D7, [A6 + 0xE]
00002948 4A47 tst.w D7
0000294A 6F06 ble +0x8 /* 00002952 */
0000294C 3C07 move.w D6, D7
0000294E 7E01 moveq.l D7, 0x01
00002950 6006 bra +0x8 /* 00002958 */
label00002952:
00002952 3C07 move.w D6, D7
00002954 4446 neg.w D6
00002956 7E00 moveq.l D7, 0x00
label00002958:
00002958 3F2E 0008 move.w -[A7], [A6 + 0x8]
0000295C 4EBA 006A jsr [PC + 0x6A /* 000029C8 */]
00002960 2A00 move.l D5, D0
00002962 2805 move.l D4, D5
00002964 7018 moveq.l D0, 0x18
00002966 E0AC lsr D4, D0
00002968 2005 move.l D0, D5
0000296A 7210 moveq.l D1, 0x10
0000296C E2A8 lsr D0, D1
0000296E 2D40 FFF8 move.l [A6 - 0x8], D0
00002972 2205 move.l D1, D5
00002974 E089 lsr D1, 8
00002976 2D41 FFFC move.l [A6 - 0x4], D1
0000297A 548F addq.l A7, 2
0000297C 603E bra +0x40 /* 000029BC */
label0000297E:
0000297E 0C46 0004 cmpi.w D6, 0x4
00002982 6602 bne +0x4 /* 00002986 */
00002984 1604 move.b D3, D4
label00002986:
00002986 0C46 0003 cmpi.w D6, 0x3
0000298A 6604 bne +0x6 /* 00002990 */
0000298C 162E FFFB move.b D3, [A6 - 0x5]
label00002990:
00002990 0C46 0002 cmpi.w D6, 0x2
00002994 6604 bne +0x6 /* 0000299A */
00002996 162E FFFF move.b D3, [A6 - 0x1]
label0000299A:
0000299A 0C46 0001 cmpi.w D6, 0x1
0000299E 6602 bne +0x4 /* 000029A2 */
000029A0 1605 move.b D3, D5
label000029A2:
000029A2 0C07 0001 cmpi.b D7, 0x1
000029A6 6608 bne +0xA /* 000029B0 */
000029A8 0C03 0020 cmpi.b D3, 0x20 /* ' ' */
000029AC 6602 bne +0x4 /* 000029B0 */
000029AE 767F moveq.l D3, 0x7F
label000029B0:
000029B0 206E 000A movea.l A0, [A6 + 0xA]
000029B4 52AE 000A addq.l [A6 + 0xA], 1
000029B8 1083 move.b [A0], D3
000029BA 5346 subq.w D6, 1
label000029BC:
000029BC 4A46 tst.w D6
000029BE 66BE bne -0x40 /* 0000297E */
000029C0 4CDF 00F8 movem.l D3,D4,D5,D6,D7, [A7]+
000029C4 4E5E unlink A6
000029C6 4E75 rts
fn000029C8:
000029C8 4E56 0000 link A6, 0
000029CC 342E 0008 move.w D2, [A6 + 0x8]
000029D0 7220 moveq.l D1, 0x20
000029D2 1001 move.b D0, D1
000029D4 48C2 ext.l D2
000029D6 84FC 03E8 divu.w D2, 0x3E8
000029DA 6706 beq +0x8 /* 000029E2 */
000029DC 7230 moveq.l D1, 0x30
000029DE D401 add.b D2, D1
000029E0 1002 move.b D0, D2
label000029E2:
000029E2 E188 lsl D0, 8
000029E4 1001 move.b D0, D1
000029E6 4842 swap.w D2
000029E8 48C2 ext.l D2
000029EA 84FC 0064 divu.w D2, 0x64 /* 'd' */
000029EE 6706 beq +0x8 /* 000029F6 */
000029F0 7230 moveq.l D1, 0x30
000029F2 D401 add.b D2, D1
000029F4 1002 move.b D0, D2
label000029F6:
000029F6 E188 lsl D0, 8
000029F8 1001 move.b D0, D1
000029FA 4842 swap.w D2
000029FC 48C2 ext.l D2
000029FE 84FC 000A divu.w D2, 0xA /* '\n' */
00002A02 6706 beq +0x8 /* 00002A0A */
00002A04 7230 moveq.l D1, 0x30
00002A06 D401 add.b D2, D1
00002A08 1002 move.b D0, D2
label00002A0A:
00002A0A E188 lsl D0, 8
00002A0C 4842 swap.w D2
00002A0E 7230 moveq.l D1, 0x30
00002A10 D401 add.b D2, D1
00002A12 1002 move.b D0, D2
00002A14 4E5E unlink A6
00002A16 4E75 rts
00002A18 4E56 0000 link A6, 0
00002A1C 48E7 0108 movem.l -[A7], D7,A4
00002A20 7E00 moveq.l D7, 0x00
00002A22 286E 000C movea.l A4, [A6 + 0xC]
00002A26 601E bra +0x20 /* 00002A46 */
label00002A28:
00002A28 5207 addq.b D7, 1
00002A2A 7000 moveq.l D0, 0x00
00002A2C 1007 move.b D0, D7
00002A2E D0AE 000C add.l D0, [A6 + 0xC]
00002A32 2040 movea.l A0, D0
00002A34 226E 0008 movea.l A1, [A6 + 0x8]
00002A38 5211 addq.b [A1], 1
00002A3A 1011 move.b D0, [A1]
00002A3C 4880 ext.w D0
00002A3E 226E 0008 movea.l A1, [A6 + 0x8]
00002A42 1390 0000 move.b [A1 + D0.w], [A0]
label00002A46:
00002A46 BE14 cmp.b D7, [A4]
00002A48 65DE bcs -0x20 /* 00002A28 */
00002A4A 4CDF 1080 movem.l D7,A4, [A7]+
00002A4E 4E5E unlink A6
00002A50 4E75 rts
fn00002A52:
00002A52 4E56 FFFC link A6, -0x0004
00002A56 2F07 move.l -[A7], D7
00002A58 3E2E 0008 move.w D7, [A6 + 0x8]
00002A5C 0807 000B btst.b D7, 0xB
00002A60 676C beq +0x6E /* 00002ACE */
00002A62 42A7 clr.l -[A7]
00002A64 2F3C 0100 A86E move.l -[A7], 0x100A86E
00002A6A 4EBA 103C jsr [PC + 0x103C /* 00003AA8 */]
00002A6E 2D5F FFFC move.l [A6 - 0x4], [A7]+
00002A72 42A7 clr.l -[A7]
00002A74 2F3C 0100 AA6E move.l -[A7], 0x100AA6E
00002A7A 4EBA 102C jsr [PC + 0x102C /* 00003AA8 */]
00002A7E 202E FFFC move.l D0, [A6 - 0x4]
00002A82 B09F cmp.l D0, [A7]+
00002A84 6610 bne +0x12 /* 00002A96 */
00002A86 3007 move.w D0, D7
00002A88 0240 07FF andi.w D0, 0x7FF
00002A8C 0C40 0200 cmpi.w D0, 0x200
00002A90 6514 bcs +0x16 /* 00002AA6 */
00002A92 7000 moveq.l D0, 0x00
00002A94 6060 bra +0x62 /* 00002AF6 */
label00002A96:
00002A96 3007 move.w D0, D7
00002A98 0240 07FF andi.w D0, 0x7FF
00002A9C 0C40 0400 cmpi.w D0, 0x400
00002AA0 6504 bcs +0x6 /* 00002AA6 */
00002AA2 7000 moveq.l D0, 0x00
00002AA4 6050 bra +0x52 /* 00002AF6 */
label00002AA6:
00002AA6 42A7 clr.l -[A7]
00002AA8 3F07 move.w -[A7], D7
00002AAA 1F3C 0001 move.b -[A7], 0x1
00002AAE 4EBA 0FF8 jsr [PC + 0xFF8 /* 00003AA8 */]
00002AB2 2D5F FFFC move.l [A6 - 0x4], [A7]+
00002AB6 42A7 clr.l -[A7]
00002AB8 2F3C 0100 A89F move.l -[A7], 0x100A89F
00002ABE 4EBA 0FE8 jsr [PC + 0xFE8 /* 00003AA8 */]
00002AC2 202E FFFC move.l D0, [A6 - 0x4]
00002AC6 B09F cmp.l D0, [A7]+
00002AC8 662A bne +0x2C /* 00002AF4 */
00002ACA 7000 moveq.l D0, 0x00
00002ACC 6028 bra +0x2A /* 00002AF6 */
label00002ACE:
00002ACE 42A7 clr.l -[A7]
00002AD0 3F07 move.w -[A7], D7
00002AD2 4227 clr.b -[A7]
00002AD4 4EBA 0FD2 jsr [PC + 0xFD2 /* 00003AA8 */]
00002AD8 2D5F FFFC move.l [A6 - 0x4], [A7]+
00002ADC 42A7 clr.l -[A7]
00002ADE 2F3C 0000 A89F move.l -[A7], 0xA89F
00002AE4 4EBA 0FC2 jsr [PC + 0xFC2 /* 00003AA8 */]
00002AE8 202E FFFC move.l D0, [A6 - 0x4]
00002AEC B09F cmp.l D0, [A7]+
00002AEE 6604 bne +0x6 /* 00002AF4 */
00002AF0 7000 moveq.l D0, 0x00
00002AF2 6002 bra +0x4 /* 00002AF6 */
label00002AF4:
00002AF4 7001 moveq.l D0, 0x01
label00002AF6:
00002AF6 2E1F move.l D7, [A7]+
00002AF8 4E5E unlink A6
00002AFA 4E75 rts
fn00002AFC:
00002AFC 4A2D CE64 tst.b [A5 - 0x319C]
00002B00 6606 bne +0x8 /* 00002B08 */
00002B02 4EBA 000A jsr [PC + 0xA /* 00002B0E */]
00002B06 6004 bra +0x6 /* 00002B0C */
label00002B08:
00002B08 4EBA 007E jsr [PC + 0x7E /* 00002B88 */]
label00002B0C:
00002B0C 4E75 rts
fn00002B0E:
00002B0E 4E56 FFFC link A6, -0x0004
00002B12 2F0C move.l -[A7], A4
00002B14 4A2D CE64 tst.b [A5 - 0x319C]
00002B18 6668 bne +0x6A /* 00002B82 */
00002B1A 4A2D CE65 tst.b [A5 - 0x319B]
00002B1E 6762 beq +0x64 /* 00002B82 */
00002B20 4278 0BAA clr.w [0x00000BAA /* MBarHeight */]
00002B24 21ED D5A0 09EE move.l [0x000009EE /* GrayRgn */], [A5 - 0x2A60]
00002B2A 486D D5AA pea.l [A5 - 0x2A56]
00002B2E A874 syscall GetPort
00002B30 486E FFFC pea.l [A6 - 0x4]
00002B34 A910 syscall GetWMgrPort
00002B36 2F2E FFFC move.l -[A7], [A6 - 0x4]
00002B3A A873 syscall SetPort
00002B3C 2F38 09EE move.l -[A7], [0x000009EE /* GrayRgn */]
00002B40 A879 syscall SetClip
00002B42 42A7 clr.l -[A7]
00002B44 2F2D D5A0 move.l -[A7], [A5 - 0x2A60]
00002B48 A90C syscall PaintOne
00002B4A 2F2D D59C move.l -[A7], [A5 - 0x2A64]
00002B4E 486D FDD8 pea.l [A5 - 0x228]
00002B52 A8D6 syscall FillRgn
00002B54 42A7 clr.l -[A7]
00002B56 A924 syscall FrontWindow
00002B58 285F movea.l A4, [A7]+
00002B5A 2F0C move.l -[A7], A4
00002B5C 2F2D D59C move.l -[A7], [A5 - 0x2A64]
00002B60 A90C syscall PaintOne
00002B62 2F0C move.l -[A7], A4
00002B64 2F2D D59C move.l -[A7], [A5 - 0x2A64]
00002B68 A90D syscall PaintBehind
00002B6A 2F0C move.l -[A7], A4
00002B6C A909 syscall CalcVis
00002B6E 2F0C move.l -[A7], A4
00002B70 2F2D D59C move.l -[A7], [A5 - 0x2A64]
00002B74 A90A syscall CalcVBehind
00002B76 2F2D D5AA move.l -[A7], [A5 - 0x2A56]
00002B7A A873 syscall SetPort
00002B7C 1B7C 0001 CE64 move.b [A5 - 0x319C], 0x1
label00002B82:
00002B82 285F movea.l A4, [A7]+
00002B84 4E5E unlink A6
00002B86 4E75 rts
fn00002B88:
00002B88 4E56 FFFC link A6, -0x0004
00002B8C 2F0C move.l -[A7], A4
00002B8E 4A2D CE64 tst.b [A5 - 0x319C]
00002B92 6752 beq +0x54 /* 00002BE6 */
00002B94 4A2D CE65 tst.b [A5 - 0x319B]
00002B98 674C beq +0x4E /* 00002BE6 */
00002B9A 31ED D5A4 0BAA move.w [0x00000BAA /* MBarHeight */], [A5 - 0x2A5C]
00002BA0 21ED D598 09EE move.l [0x000009EE /* GrayRgn */], [A5 - 0x2A68]
00002BA6 486D D5AA pea.l [A5 - 0x2A56]
00002BAA A874 syscall GetPort
00002BAC 486E FFFC pea.l [A6 - 0x4]
00002BB0 A910 syscall GetWMgrPort
00002BB2 2F2E FFFC move.l -[A7], [A6 - 0x4]
00002BB6 A873 syscall SetPort
00002BB8 2F2D D59C move.l -[A7], [A5 - 0x2A64]
00002BBC 486D FDD8 pea.l [A5 - 0x228]
00002BC0 A8D6 syscall FillRgn
00002BC2 42A7 clr.l -[A7]
00002BC4 A924 syscall FrontWindow
00002BC6 285F movea.l A4, [A7]+
00002BC8 2F0C move.l -[A7], A4
00002BCA A909 syscall CalcVis
00002BCC 2F0C move.l -[A7], A4
00002BCE 2F2D D59C move.l -[A7], [A5 - 0x2A64]
00002BD2 A90A syscall CalcVBehind
00002BD4 A937 syscall DrawMenuBar
00002BD6 2F38 09EE move.l -[A7], [0x000009EE /* GrayRgn */]
00002BDA A879 syscall SetClip
00002BDC 2F2D D5AA move.l -[A7], [A5 - 0x2A56]
00002BE0 A873 syscall SetPort
00002BE2 422D CE64 clr.b [A5 - 0x319C]
label00002BE6:
00002BE6 285F movea.l A4, [A7]+
00002BE8 4E5E unlink A6
00002BEA 4E75 rts
fn00002BEC:
00002BEC 422D CE63 clr.b [A5 - 0x319D]
00002BF0 422D D660 clr.b [A5 - 0x29A0]
00002BF4 426D D666 clr.w [A5 - 0x299A]
00002BF8 4E75 rts
fn00002BFA:
00002BFA A850 syscall InitCursor
00002BFC 422D CE63 clr.b [A5 - 0x319D]
00002C00 422D D660 clr.b [A5 - 0x29A0]
00002C04 426D D666 clr.w [A5 - 0x299A]
00002C08 4E75 rts
export_15:
fn00002C0A:
00002C0A 4E56 0000 link A6, 0
00002C0E 48E7 0018 movem.l -[A7], A3,A4
00002C12 97CB sub.l A3, A3
00002C14 42A7 clr.l -[A7]
00002C16 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002C1A 3F2E 000C move.w -[A7], [A6 + 0xC]
00002C1E A9A0 syscall GetResource
00002C20 285F movea.l A4, [A7]+
00002C22 200C move.l D0, A4
00002C24 6724 beq +0x26 /* 00002C4A */
00002C26 4A94 tst.l [A4]
00002C28 660C bne +0xE /* 00002C36 */
00002C2A 2F0C move.l -[A7], A4
00002C2C A9A2 syscall LoadResource
00002C2E 4267 clr.w -[A7]
00002C30 A9AF syscall ResError
00002C32 4A5F tst.w [A7]+
00002C34 6614 bne +0x16 /* 00002C4A */
label00002C36:
00002C36 4A2E 000E tst.b [A6 + 0xE]
00002C3A 6704 beq +0x6 /* 00002C40 */
00002C3C 204C movea.l A0, A4
00002C3E A064 syscall MoveHHi
label00002C40:
00002C40 204C movea.l A0, A4
00002C42 A04A syscall HNoPurge
00002C44 204C movea.l A0, A4
00002C46 A029 syscall HLock
00002C48 2654 movea.l A3, [A4]
label00002C4A:
00002C4A 200B move.l D0, A3
00002C4C 4CDF 1800 movem.l A3,A4, [A7]+
00002C50 4E5E unlink A6
00002C52 4E75 rts
export_16:
fn00002C54:
00002C54 4E56 0000 link A6, 0
00002C58 2F0C move.l -[A7], A4
00002C5A 4AAE 0008 tst.l [A6 + 0x8]
00002C5E 6714 beq +0x16 /* 00002C74 */
00002C60 206E 0008 movea.l A0, [A6 + 0x8]
00002C64 A128 syscall RecoverHandle, flags=1
00002C66 2848 movea.l A4, A0
00002C68 200C move.l D0, A4
00002C6A 6708 beq +0xA /* 00002C74 */
00002C6C 204C movea.l A0, A4
00002C6E A02A syscall HUnlock
00002C70 204C movea.l A0, A4
00002C72 A049 syscall HPurge
label00002C74:
00002C74 285F movea.l A4, [A7]+
00002C76 4E5E unlink A6
00002C78 4E75 rts
export_17:
fn00002C7A:
00002C7A 4E56 0000 link A6, 0
00002C7E 2F07 move.l -[A7], D7
00002C80 4EBA 0976 jsr [PC + 0x976 /* 000035F8 */]
00002C84 4EBA FF74 jsr [PC - 0x8C /* 00002BFA */]
00002C88 42A7 clr.l -[A7]
00002C8A A98C syscall ErrorSound
00002C8C 4267 clr.w -[A7]
00002C8E 3F2E 0008 move.w -[A7], [A6 + 0x8]
00002C92 42A7 clr.l -[A7]
00002C94 A985 syscall Alert
00002C96 3E1F move.w D7, [A7]+
00002C98 422D CE62 clr.b [A5 - 0x319E]
00002C9C 4EBA FF4E jsr [PC - 0xB2 /* 00002BEC */]
00002CA0 4EBA 0984 jsr [PC + 0x984 /* 00003626 */]
00002CA4 3007 move.w D0, D7
00002CA6 2E1F move.l D7, [A7]+
00002CA8 4E5E unlink A6
00002CAA 4E75 rts
fn00002CAC:
00002CAC 4E56 0000 link A6, 0
00002CB0 2F07 move.l -[A7], D7
00002CB2 4EBA 0944 jsr [PC + 0x944 /* 000035F8 */]
00002CB6 4EBA FF42 jsr [PC - 0xBE /* 00002BFA */]
00002CBA 486D D5AA pea.l [A5 - 0x2A56]
00002CBE A874 syscall GetPort
00002CC0 42A7 clr.l -[A7]
00002CC2 3F2E 0008 move.w -[A7], [A6 + 0x8]
00002CC6 42A7 clr.l -[A7]
00002CC8 4878 FFFF push.l 0xFFFF
00002CCC A97C syscall GetNewDialog
00002CCE 2B5F DF6C move.l [A5 - 0x2094], [A7]+
00002CD2 4AAD DF6C tst.l [A5 - 0x2094]
00002CD6 6776 beq +0x78 /* 00002D4E */
00002CD8 2F2D DF6C move.l -[A7], [A5 - 0x2094]
00002CDC A873 syscall SetPort
00002CDE 4AAD DF5C tst.l [A5 - 0x20A4]
00002CE2 6706 beq +0x8 /* 00002CEA */
00002CE4 206D DF5C movea.l A0, [A5 - 0x20A4]
00002CE8 4E90 jsr [A0]
label00002CEA:
00002CEA 7E00 moveq.l D7, 0x00
00002CEC 6042 bra +0x44 /* 00002D30 */
label00002CEE:
00002CEE 486D 00B2 pea.l [A5 + 0xB2 /* export_18 */]
00002CF2 486D DF70 pea.l [A5 - 0x2090]
00002CF6 A991 syscall ModalDialog
00002CF8 2F2D DF6C move.l -[A7], [A5 - 0x2094]
00002CFC 3F2D DF70 move.w -[A7], [A5 - 0x2090]
00002D00 486D DF72 pea.l [A5 - 0x208E]
00002D04 486D DF74 pea.l [A5 - 0x208C]
00002D08 486D DF78 pea.l [A5 - 0x2088]
00002D0C A98D syscall GetDialogItem/GetDItem
00002D0E 4AAD DF64 tst.l [A5 - 0x209C]
00002D12 670A beq +0xC /* 00002D1E */
00002D14 206D DF64 movea.l A0, [A5 - 0x209C]
00002D18 4E90 jsr [A0]
00002D1A 1E00 move.b D7, D0
00002D1C 6012 bra +0x14 /* 00002D30 */
label00002D1E:
00002D1E 0C6D 0001 DF70 cmpi.w [A5 - 0x2090], 0x1
00002D24 6708 beq +0xA /* 00002D2E */
00002D26 0C6D 0002 DF70 cmpi.w [A5 - 0x2090], 0x2
00002D2C 6602 bne +0x4 /* 00002D30 */
label00002D2E:
00002D2E 7E01 moveq.l D7, 0x01
label00002D30:
00002D30 4A07 tst.b D7
00002D32 67BA beq -0x44 /* 00002CEE */
00002D34 4AAD DF68 tst.l [A5 - 0x2098]
00002D38 6706 beq +0x8 /* 00002D40 */
00002D3A 206D DF68 movea.l A0, [A5 - 0x2098]
00002D3E 4E90 jsr [A0]
label00002D40:
00002D40 2F2D DF6C move.l -[A7], [A5 - 0x2094]
00002D44 A983 syscall DisposeDialog
00002D46 42AD DF6C clr.l [A5 - 0x2094]
00002D4A 422D CE62 clr.b [A5 - 0x319E]
label00002D4E:
00002D4E 42AD DF5C clr.l [A5 - 0x20A4]
00002D52 42AD DF60 clr.l [A5 - 0x20A0]
00002D56 42AD DF64 clr.l [A5 - 0x209C]
00002D5A 42AD DF68 clr.l [A5 - 0x2098]
00002D5E A01C syscall FreeMem
00002D60 A04D syscall PurgeMem
00002D62 2F2D D5AA move.l -[A7], [A5 - 0x2A56]
00002D66 A873 syscall SetPort
00002D68 4EBA FE82 jsr [PC - 0x17E /* 00002BEC */]
00002D6C 4EBA 08B8 jsr [PC + 0x8B8 /* 00003626 */]
00002D70 2E1F move.l D7, [A7]+
00002D72 4E5E unlink A6
00002D74 4E75 rts
export_18:
00002D76 4E56 0000 link A6, 0
00002D7A 4AAD DF60 tst.l [A5 - 0x20A0]
00002D7E 671C beq +0x1E /* 00002D9C */
00002D80 206E 000C movea.l A0, [A6 + 0xC]
00002D84 43ED D650 lea.l A1, [A5 - 0x29B0]
00002D88 22D8 move.l [A1]+, [A0]+
00002D8A 22D8 move.l [A1]+, [A0]+
00002D8C 22D8 move.l [A1]+, [A0]+
00002D8E 22D8 move.l [A1]+, [A0]+
00002D90 206D DF60 movea.l A0, [A5 - 0x20A0]
00002D94 4E90 jsr [A0]
00002D96 1D40 0014 move.b [A6 + 0x14], D0
00002D9A 6004 bra +0x6 /* 00002DA0 */
label00002D9C:
00002D9C 422E 0014 clr.b [A6 + 0x14]
label00002DA0:
00002DA0 4E5E unlink A6
00002DA2 205F movea.l A0, [A7]+
00002DA4 4FEF 000C lea.l A7, [A7 + 0xC]
00002DA8 4ED0 jmp [A0]
export_19:
fn00002DAA:
00002DAA 3B7C 0001 DF70 move.w [A5 - 0x2090], 0x1
00002DB0 2F2D DF6C move.l -[A7], [A5 - 0x2094]
00002DB4 3F2D DF70 move.w -[A7], [A5 - 0x2090]
00002DB8 486D DF72 pea.l [A5 - 0x208E]
00002DBC 486D DF74 pea.l [A5 - 0x208C]
00002DC0 486D DF78 pea.l [A5 - 0x2088]
00002DC4 A98D syscall GetDialogItem/GetDItem
00002DC6 2F3C 0003 0003 move.l -[A7], 0x30003
00002DCC A89B syscall PenSize
00002DCE 486D DF78 pea.l [A5 - 0x2088]
00002DD2 2F3C FFFC FFFC move.l -[A7], 0xFFFCFFFC
00002DD8 A8A9 syscall InsetRect
00002DDA 486D DF78 pea.l [A5 - 0x2088]
00002DDE 2F3C 0010 0010 move.l -[A7], 0x100010
00002DE4 A8B0 syscall FrameRoundRect
00002DE6 4E75 rts
export_20:
00002DE8 302D D650 move.w D0, [A5 - 0x29B0]
00002DEC 6B3A bmi +0x3C /* 00002E28 */
00002DEE 5740 subq.w D0, 3
00002DF0 6702 beq +0x4 /* 00002DF4 */
00002DF2 6034 bra +0x36 /* 00002E28 */
label00002DF4:
00002DF4 70FF moveq.l D0, 0xFFFFFFFF
00002DF6 C02D D655 and.b D0, [A5 - 0x29AB]
00002DFA 6B2C bmi +0x2E /* 00002E28 */
00002DFC 0400 000D subi.b D0, 0xD /* '\r' */
00002E00 6712 beq +0x14 /* 00002E14 */
00002E02 6A08 bpl +0xA /* 00002E0C */
00002E04 0400 00F6 subi.b D0, 0xF6
00002E08 670A beq +0xC /* 00002E14 */
00002E0A 601C bra +0x1E /* 00002E28 */
label00002E0C:
00002E0C 0400 000E subi.b D0, 0xE
00002E10 670C beq +0xE /* 00002E1E */
00002E12 6014 bra +0x16 /* 00002E28 */
label00002E14:
00002E14 3B7C 0001 DF70 move.w [A5 - 0x2090], 0x1
00002E1A 7001 moveq.l D0, 0x01
00002E1C 600C bra +0xE /* 00002E2A */
label00002E1E:
00002E1E 3B7C 0002 DF70 move.w [A5 - 0x2090], 0x2
00002E24 7001 moveq.l D0, 0x01
00002E26 6002 bra +0x4 /* 00002E2A */
label00002E28:
00002E28 7000 moveq.l D0, 0x00
label00002E2A:
00002E2A 4E75 rts
fn00002E2C:
00002E2C 4A2D D69F tst.b [A5 - 0x2961]
00002E30 6742 beq +0x44 /* 00002E74 */
00002E32 0C6D 0006 D590 cmpi.w [A5 - 0x2A70], 0x6
00002E38 660E bne +0x10 /* 00002E48 */
00002E3A 2F3C 000C 0000 move.l -[A7], 0xC0000
00002E40 4EBA 0436 jsr [PC + 0x436 /* 00003278 */]
00002E44 588F addq.l A7, 4
00002E46 600C bra +0xE /* 00002E54 */
label00002E48:
00002E48 2F3C 000A 0000 move.l -[A7], 0xA0000 /* '\n\0\0' */
00002E4E 4EBA 0428 jsr [PC + 0x428 /* 00003278 */]
00002E52 588F addq.l A7, 4
label00002E54:
00002E54 206D FF80 movea.l A0, [A5 - 0x80]
00002E58 2068 0002 movea.l A0, [A0 + 0x2]
00002E5C 2050 movea.l A0, [A0]
00002E5E 216D D696 002A move.l [A0 + 0x2A], [A5 - 0x296A]
00002E64 206D FFB4 movea.l A0, [A5 - 0x4C]
00002E68 2068 0002 movea.l A0, [A0 + 0x2]
00002E6C 2050 movea.l A0, [A0]
00002E6E 216D D696 002A move.l [A0 + 0x2A], [A5 - 0x296A]
label00002E74:
00002E74 4E75 rts
fn00002E76:
00002E76 4A2D D69F tst.b [A5 - 0x2961]
00002E7A 672C beq +0x2E /* 00002EA8 */
00002E7C 2F3C 0002 0000 move.l -[A7], 0x20000
00002E82 4EBA 03F4 jsr [PC + 0x3F4 /* 00003278 */]
00002E86 206D FF80 movea.l A0, [A5 - 0x80]
00002E8A 2068 0002 movea.l A0, [A0 + 0x2]
00002E8E 2050 movea.l A0, [A0]
00002E90 216D FF62 002A move.l [A0 + 0x2A], [A5 - 0x9E]
00002E96 206D FFB4 movea.l A0, [A5 - 0x4C]
00002E9A 2068 0002 movea.l A0, [A0 + 0x2]
00002E9E 2050 movea.l A0, [A0]
00002EA0 216D FF62 002A move.l [A0 + 0x2A], [A5 - 0x9E]
00002EA6 588F addq.l A7, 4
label00002EA8:
00002EA8 4E75 rts
export_21:
fn00002EAA:
00002EAA 4E56 FFEC link A6, -0x0014
00002EAE 48E7 1F08 movem.l -[A7], D3,D4,D5,D6,D7,A4
00002EB2 4227 clr.b -[A7]
00002EB4 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002EB8 486D D6D2 pea.l [A5 - 0x292E]
00002EBC 486E FFF8 pea.l [A6 - 0x8]
00002EC0 A8AA syscall SectRect
00002EC2 4A1F tst.b [A7]+
00002EC4 6700 015C beq +0x15E /* 00003022 */
00002EC8 302D D67E move.w D0, [A5 - 0x2982]
00002ECC C16E FFFA and.w [A6 - 0x6], D0
00002ED0 322D D680 move.w D1, [A5 - 0x2980]
00002ED4 D36E FFFE add.w [A6 - 0x2], D1
00002ED8 C16E FFFE and.w [A6 - 0x2], D0
00002EDC 362E FFF8 move.w D3, [A6 - 0x8]
00002EE0 3D6E FFFA FFF6 move.w [A6 - 0xA], [A6 - 0x6]
00002EE6 3D6E FFFC FFF4 move.w [A6 - 0xC], [A6 - 0x4]
00002EEC 382E FFFE move.w D4, [A6 - 0x2]
00002EF0 3E2E FFF6 move.w D7, [A6 - 0xA]
00002EF4 DE44 add.w D7, D4
00002EF6 E247 asr D7.w, 1
00002EF8 3C2E FFF4 move.w D6, [A6 - 0xC]
00002EFC DC43 add.w D6, D3
00002EFE E246 asr D6.w, 1
00002F00 49ED D916 lea.l A4, [A5 - 0x26EA]
00002F04 7A00 moveq.l D5, 0x00
00002F06 6000 00D4 bra +0xD6 /* 00002FDC */
label00002F0A:
00002F0A 3D54 FFF2 move.w [A6 - 0xE], [A4]
00002F0E 3D6C 0002 FFF0 move.w [A6 - 0x10], [A4 + 0x2]
00002F14 3D6C 0004 FFEE move.w [A6 - 0x12], [A4 + 0x4]
00002F1A 3D6C 0006 FFEC move.w [A6 - 0x14], [A4 + 0x6]
00002F20 BC6E FFF2 cmp.w D6, [A6 - 0xE]
00002F24 6D12 blt +0x14 /* 00002F38 */
00002F26 BE6E FFF0 cmp.w D7, [A6 - 0x10]
00002F2A 6D0C blt +0xE /* 00002F38 */
00002F2C BC6E FFEE cmp.w D6, [A6 - 0x12]
00002F30 6E06 bgt +0x8 /* 00002F38 */
00002F32 BE6E FFEC cmp.w D7, [A6 - 0x14]
00002F36 6F40 ble +0x42 /* 00002F78 */
label00002F38:
00002F38 302E FFF6 move.w D0, [A6 - 0xA]
00002F3C B06E FFF0 cmp.w D0, [A6 - 0x10]
00002F40 6616 bne +0x18 /* 00002F58 */
00002F42 B86E FFEC cmp.w D4, [A6 - 0x14]
00002F46 6610 bne +0x12 /* 00002F58 */
00002F48 B66E FFEE cmp.w D3, [A6 - 0x12]
00002F4C 6E0A bgt +0xC /* 00002F58 */
00002F4E 302E FFF4 move.w D0, [A6 - 0xC]
00002F52 B06E FFF2 cmp.w D0, [A6 - 0xE]
00002F56 6C20 bge +0x22 /* 00002F78 */
label00002F58:
00002F58 B66E FFF2 cmp.w D3, [A6 - 0xE]
00002F5C 667A bne +0x7C /* 00002FD8 */
00002F5E 302E FFF4 move.w D0, [A6 - 0xC]
00002F62 B06E FFEE cmp.w D0, [A6 - 0x12]
00002F66 6670 bne +0x72 /* 00002FD8 */
00002F68 302E FFF6 move.w D0, [A6 - 0xA]
00002F6C B06E FFEC cmp.w D0, [A6 - 0x14]
00002F70 6E66 bgt +0x68 /* 00002FD8 */
00002F72 B86E FFF0 cmp.w D4, [A6 - 0x10]
00002F76 6D60 blt +0x62 /* 00002FD8 */
label00002F78:
00002F78 B66E FFF2 cmp.w D3, [A6 - 0xE]
00002F7C 6F04 ble +0x6 /* 00002F82 */
00002F7E 362E FFF2 move.w D3, [A6 - 0xE]
label00002F82:
00002F82 302E FFF6 move.w D0, [A6 - 0xA]
00002F86 B06E FFF0 cmp.w D0, [A6 - 0x10]
00002F8A 6F06 ble +0x8 /* 00002F92 */
00002F8C 3D6E FFF0 FFF6 move.w [A6 - 0xA], [A6 - 0x10]
label00002F92:
00002F92 302E FFF4 move.w D0, [A6 - 0xC]
00002F96 B06E FFEE cmp.w D0, [A6 - 0x12]
00002F9A 6C06 bge +0x8 /* 00002FA2 */
00002F9C 3D6E FFEE FFF4 move.w [A6 - 0xC], [A6 - 0x12]
label00002FA2:
00002FA2 B86E FFEC cmp.w D4, [A6 - 0x14]
00002FA6 6C04 bge +0x6 /* 00002FAC */
00002FA8 382E FFEC move.w D4, [A6 - 0x14]
label00002FAC:
00002FAC 3E2E FFF6 move.w D7, [A6 - 0xA]
00002FB0 DE44 add.w D7, D4
00002FB2 E247 asr D7.w, 1
00002FB4 3C2E FFF4 move.w D6, [A6 - 0xC]
00002FB8 DC43 add.w D6, D3
00002FBA E246 asr D6.w, 1
00002FBC 536D D914 subq.w [A5 - 0x26EC], 1
00002FC0 302D D914 move.w D0, [A5 - 0x26EC]
00002FC4 204D movea.l A0, A5
00002FC6 48C0 ext.l D0
00002FC8 E788 lsl D0, 3
00002FCA D1C0 add.l A0, D0
00002FCC 28A8 D916 move.l [A4], [A0 - 0x26EA]
00002FD0 2968 D91A 0004 move.l [A4 + 0x4], [A0 - 0x26E6]
00002FD6 6004 bra +0x6 /* 00002FDC */
label00002FD8:
00002FD8 508C addq.l A4, 8
00002FDA 5245 addq.w D5, 1
label00002FDC:
00002FDC BA6D D914 cmp.w D5, [A5 - 0x26EC]
00002FE0 6D00 FF28 blt -0xD6 /* 00002F0A */
00002FE4 0C6D 0060 D914 cmpi.w [A5 - 0x26EC], 0x60 /* '`' */
00002FEA 6C18 bge +0x1A /* 00003004 */
00002FEC 3883 move.w [A4], D3
00002FEE 396E FFF6 0002 move.w [A4 + 0x2], [A6 - 0xA]
00002FF4 396E FFF4 0004 move.w [A4 + 0x4], [A6 - 0xC]
00002FFA 3944 0006 move.w [A4 + 0x6], D4
00002FFE 526D D914 addq.w [A5 - 0x26EC], 1
00003002 6006 bra +0x8 /* 0000300A */
label00003004:
00003004 1B7C 0001 D912 move.b [A5 - 0x26EE], 0x1
label0000300A:
0000300A 4A2D D912 tst.b [A5 - 0x26EE]
0000300E 6712 beq +0x14 /* 00003022 */
00003010 2B6D D6B0 D916 move.l [A5 - 0x26EA], [A5 - 0x2950]
00003016 2B6D D6B4 D91A move.l [A5 - 0x26E6], [A5 - 0x294C]
0000301C 3B7C 0001 D914 move.w [A5 - 0x26EC], 0x1
label00003022:
00003022 4CDF 10F8 movem.l D3,D4,D5,D6,D7,A4, [A7]+
00003026 4E5E unlink A6
00003028 4E75 rts
export_22:
0000302A 48E7 0318 movem.l -[A7], D6,D7,A3,A4
0000302E 49ED DC18 lea.l A4, [A5 - 0x23E8]
00003032 47ED D916 lea.l A3, [A5 - 0x26EA]
00003036 302D D914 move.w D0, [A5 - 0x26EC]
0000303A B06D DC16 cmp.w D0, [A5 - 0x23EA]
0000303E 6D06 blt +0x8 /* 00003046 */
00003040 3E2D D914 move.w D7, [A5 - 0x26EC]
00003044 6014 bra +0x16 /* 0000305A */
label00003046:
00003046 3E2D DC16 move.w D7, [A5 - 0x23EA]
0000304A 600E bra +0x10 /* 0000305A */
label0000304C:
0000304C 2C14 move.l D6, [A4]
0000304E 28D3 move.l [A4]+, [A3]
00003050 26C6 move.l [A3]+, D6
00003052 2C14 move.l D6, [A4]
00003054 28D3 move.l [A4]+, [A3]
00003056 26C6 move.l [A3]+, D6
00003058 5347 subq.w D7, 1
label0000305A:
0000305A 4A47 tst.w D7
0000305C 6EEE bgt -0x10 /* 0000304C */
0000305E 3E2D DC16 move.w D7, [A5 - 0x23EA]
00003062 3B6D D914 DC16 move.w [A5 - 0x23EA], [A5 - 0x26EC]
00003068 3B47 D914 move.w [A5 - 0x26EC], D7
0000306C 49ED DC18 lea.l A4, [A5 - 0x23E8]
00003070 3E2D DC16 move.w D7, [A5 - 0x23EA]
00003074 600C bra +0xE /* 00003082 */
label00003076:
00003076 2F0C move.l -[A7], A4
00003078 4EBA FE30 jsr [PC - 0x1D0 /* 00002EAA */]
0000307C 508C addq.l A4, 8
0000307E 5347 subq.w D7, 1
00003080 588F addq.l A7, 4
label00003082:
00003082 4A47 tst.w D7
00003084 6EF0 bgt -0xE /* 00003076 */
00003086 49ED D916 lea.l A4, [A5 - 0x26EA]
0000308A 3E2D D914 move.w D7, [A5 - 0x26EC]
0000308E 600C bra +0xE /* 0000309C */
label00003090:
00003090 2F0C move.l -[A7], A4
00003092 4EBA 001A jsr [PC + 0x1A /* 000030AE */]
00003096 508C addq.l A4, 8
00003098 5347 subq.w D7, 1
0000309A 588F addq.l A7, 4
label0000309C:
0000309C 4A47 tst.w D7
0000309E 6EF0 bgt -0xE /* 00003090 */
000030A0 426D D914 clr.w [A5 - 0x26EC]
000030A4 422D D912 clr.b [A5 - 0x26EE]
000030A8 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
000030AC 4E75 rts
export_23:
fn000030AE:
000030AE 4E56 0000 link A6, 0
000030B2 2F0C move.l -[A7], A4
000030B4 286E 0008 movea.l A4, [A6 + 0x8]
000030B8 2F2D D90A move.l -[A7], [A5 - 0x26F6]
000030BC 2F2D D90E move.l -[A7], [A5 - 0x26F2]
000030C0 2F0C move.l -[A7], A4
000030C2 2F0C move.l -[A7], A4
000030C4 4267 clr.w -[A7]
000030C6 42A7 clr.l -[A7]
000030C8 A8EC syscall CopyBits
000030CA 285F movea.l A4, [A7]+
000030CC 4E5E unlink A6
000030CE 4E75 rts
000030D0 4E56 FFF8 link A6, -0x0008
000030D4 48E7 0F00 movem.l -[A7], D4,D5,D6,D7
000030D8 3E2E 0008 move.w D7, [A6 + 0x8]
000030DC 3A2E 000A move.w D5, [A6 + 0xA]
000030E0 4A2D D6A0 tst.b [A5 - 0x2960]
000030E4 6700 00B0 beq +0xB2 /* 00003196 */
000030E8 2D6D D6B0 FFF8 move.l [A6 - 0x8], [A5 - 0x2950]
000030EE 2D6D D6B4 FFFC move.l [A6 - 0x4], [A5 - 0x294C]
000030F4 4A47 tst.w D7
000030F6 6F18 ble +0x1A /* 00003110 */
000030F8 3C2E FFFE move.w D6, [A6 - 0x2]
000030FC 9C6E FFFA sub.w D6, [A6 - 0x6]
00003100 48C6 ext.l D6
00003102 8DC7 divs.w D6, D7
00003104 302E FFFA move.w D0, [A6 - 0x6]
00003108 D047 add.w D0, D7
0000310A 3D40 FFFE move.w [A6 - 0x2], D0
0000310E 601A bra +0x1C /* 0000312A */
label00003110:
00003110 4A47 tst.w D7
00003112 6C16 bge +0x18 /* 0000312A */
00003114 3C2E FFFA move.w D6, [A6 - 0x6]
00003118 9C6E FFFE sub.w D6, [A6 - 0x2]
0000311C 48C6 ext.l D6
0000311E 8DC7 divs.w D6, D7
00003120 302E FFFE move.w D0, [A6 - 0x2]
00003124 D047 add.w D0, D7
00003126 3D40 FFFA move.w [A6 - 0x6], D0
label0000312A:
0000312A 4A45 tst.w D5
0000312C 6F18 ble +0x1A /* 00003146 */
0000312E 3C2E FFFC move.w D6, [A6 - 0x4]
00003132 9C6E FFF8 sub.w D6, [A6 - 0x8]
00003136 48C6 ext.l D6
00003138 8DC5 divs.w D6, D5
0000313A 302E FFF8 move.w D0, [A6 - 0x8]
0000313E D045 add.w D0, D5
00003140 3D40 FFFC move.w [A6 - 0x4], D0
00003144 604C bra +0x4E /* 00003192 */
label00003146:
00003146 4A45 tst.w D5
00003148 6C48 bge +0x4A /* 00003192 */
0000314A 3C2E FFF8 move.w D6, [A6 - 0x8]
0000314E 9C6E FFFC sub.w D6, [A6 - 0x4]
00003152 48C6 ext.l D6
00003154 8DC5 divs.w D6, D5
00003156 302E FFFC move.w D0, [A6 - 0x4]
0000315A D045 add.w D0, D5
0000315C 3D40 FFF8 move.w [A6 - 0x8], D0
00003160 6030 bra +0x32 /* 00003192 */
label00003162:
00003162 42A7 clr.l -[A7]
00003164 A975 syscall TickCount
00003166 281F move.l D4, [A7]+
00003168 2F2D D90A move.l -[A7], [A5 - 0x26F6]
0000316C 2F2D D90E move.l -[A7], [A5 - 0x26F2]
00003170 486E FFF8 pea.l [A6 - 0x8]
00003174 486E FFF8 pea.l [A6 - 0x8]
00003178 4267 clr.w -[A7]
0000317A 42A7 clr.l -[A7]
0000317C A8EC syscall CopyBits
label0000317E:
0000317E 42A7 clr.l -[A7]
00003180 A975 syscall TickCount
00003182 B89F cmp.l D4, [A7]+
00003184 67F8 beq -0x6 /* 0000317E */
00003186 486E FFF8 pea.l [A6 - 0x8]
0000318A 3F07 move.w -[A7], D7
0000318C 3F05 move.w -[A7], D5
0000318E A8A8 syscall OffsetRect
00003190 5346 subq.w D6, 1
label00003192:
00003192 4A46 tst.w D6
00003194 66CC bne -0x32 /* 00003162 */
label00003196:
00003196 4CDF 00F0 movem.l D4,D5,D6,D7, [A7]+
0000319A 4E5E unlink A6
0000319C 4E75 rts
fn0000319E:
0000319E 4E56 0000 link A6, 0
000031A2 2F07 move.l -[A7], D7
000031A4 4A2D D6A1 tst.b [A5 - 0x295F]
000031A8 6700 0088 beq +0x8A /* 00003232 */
000031AC 2F3C 000C 0000 move.l -[A7], 0xC0000
000031B2 4EBA 00C4 jsr [PC + 0xC4 /* 00003278 */]
000031B6 588F addq.l A7, 4
000031B8 6050 bra +0x52 /* 0000320A */
label000031BA:
000031BA 302E 000A move.w D0, [A6 + 0xA]
000031BE D16D DF54 add.w [A5 - 0x20AC], D0
000031C2 4A6D DF54 tst.w [A5 - 0x20AC]
000031C6 6C04 bge +0x6 /* 000031CC */
000031C8 426D DF54 clr.w [A5 - 0x20AC]
label000031CC:
000031CC 0C6D 0100 DF54 cmpi.w [A5 - 0x20AC], 0x100
000031D2 6F06 ble +0x8 /* 000031DA */
000031D4 3B7C 0100 DF54 move.w [A5 - 0x20AC], 0x100
label000031DA:
000031DA 42A7 clr.l -[A7]
000031DC A975 syscall TickCount
000031DE 2E1F move.l D7, [A7]+
000031E0 3F2D DF54 move.w -[A7], [A5 - 0x20AC]
000031E4 2F2D D6C8 move.l -[A7], [A5 - 0x2938]
000031E8 4EBA 004E jsr [PC + 0x4E /* 00003238 */]
000031EC 5C8F addq.l A7, 6
label000031EE:
000031EE 42A7 clr.l -[A7]
000031F0 A975 syscall TickCount
000031F2 BE9F cmp.l D7, [A7]+
000031F4 67F8 beq -0x6 /* 000031EE */
000031F6 2F2D D6A6 move.l -[A7], [A5 - 0x295A]
000031FA 2F2D D6C8 move.l -[A7], [A5 - 0x2938]
000031FE 42A7 clr.l -[A7]
00003200 3F2D D6CC move.w -[A7], [A5 - 0x2934]
00003204 AA9A syscall AnimatePalette
00003206 536E 0008 subq.w [A6 + 0x8], 1
label0000320A:
0000320A 4A6E 0008 tst.w [A6 + 0x8]
0000320E 66AA bne -0x54 /* 000031BA */
00003210 0C6D 0006 D590 cmpi.w [A5 - 0x2A70], 0x6
00003216 660E bne +0x10 /* 00003226 */
00003218 2F3C 000C 0000 move.l -[A7], 0xC0000
0000321E 4EBA 0058 jsr [PC + 0x58 /* 00003278 */]
00003222 588F addq.l A7, 4
00003224 600C bra +0xE /* 00003232 */
label00003226:
00003226 2F3C 000A 0000 move.l -[A7], 0xA0000 /* '\n\0\0' */
0000322C 4EBA 004A jsr [PC + 0x4A /* 00003278 */]
00003230 588F addq.l A7, 4
label00003232:
00003232 2E1F move.l D7, [A7]+
00003234 4E5E unlink A6
00003236 4E75 rts
fn00003238:
00003238 4E56 0000 link A6, 0
0000323C 226D FF62 movea.l A1, [A5 - 0x9E]
00003240 2251 movea.l A1, [A1]
00003242 322D FF66 move.w D1, [A5 - 0x9A]
00003246 206E 0008 movea.l A0, [A6 + 0x8]
0000324A 2050 movea.l A0, [A0]
0000324C 342E 000C move.w D2, [A6 + 0xC]
00003250 20D9 move.l [A0]+, [A1]+
00003252 20D9 move.l [A0]+, [A1]+
00003254 601A bra +0x1C /* 00003270 */
label00003256:
00003256 30D9 move.w [A0]+, [A1]+
00003258 3019 move.w D0, [A1]+
0000325A C0C2 mulu.w D0, D2
0000325C E088 lsr D0, 8
0000325E 30C0 move.w [A0]+, D0
00003260 3019 move.w D0, [A1]+
00003262 C0C2 mulu.w D0, D2
00003264 E088 lsr D0, 8
00003266 30C0 move.w [A0]+, D0
00003268 3019 move.w D0, [A1]+
0000326A C0C2 mulu.w D0, D2
0000326C E088 lsr D0, 8
0000326E 30C0 move.w [A0]+, D0
label00003270:
00003270 51C9 FFE4 dbf D1, -0x1E /* 00003256 */
00003274 4E5E unlink A6
00003276 4E75 rts
fn00003278:
00003278 4E56 0000 link A6, 0
0000327C 2F07 move.l -[A7], D7
0000327E 4A2D D69F tst.b [A5 - 0x2961]
00003282 6722 beq +0x24 /* 000032A6 */
00003284 7E00 moveq.l D7, 0x00
00003286 6012 bra +0x14 /* 0000329A */
label00003288:
00003288 2F2D D6C4 move.l -[A7], [A5 - 0x293C]
0000328C 3F07 move.w -[A7], D7
0000328E 3F2E 0008 move.w -[A7], [A6 + 0x8]
00003292 3F2E 000A move.w -[A7], [A6 + 0xA]
00003296 AA9E syscall SetEntryUsage
00003298 5247 addq.w D7, 1
label0000329A:
0000329A BE6D D6CC cmp.w D7, [A5 - 0x2934]
0000329E 6DE8 blt -0x16 /* 00003288 */
000032A0 2F2D D6A6 move.l -[A7], [A5 - 0x295A]
000032A4 AA94 syscall ActivatePalette
label000032A6:
000032A6 2E1F move.l D7, [A7]+
000032A8 4E5E unlink A6
000032AA 4E75 rts
export_24:
000032AC 4E56 0000 link A6, 0
000032B0 48E7 3820 movem.l -[A7], D2,D3,D4,A2
000032B4 246E 0008 movea.l A2, [A6 + 0x8]
000032B8 282E 000C move.l D4, [A6 + 0xC]
000032BC 226E 0010 movea.l A1, [A6 + 0x10]
label000032C0:
000032C0 5384 subq.l D4, 1
000032C2 6B3E bmi +0x40 /* 00003302 */
000032C4 141A move.b D2, [A2]+
000032C6 7607 moveq.l D3, 0x07
label000032C8:
000032C8 E20A lsr D2.b, 1
000032CA 650C bcs +0xE /* 000032D8 */
000032CC 5384 subq.l D4, 1
000032CE 6B32 bmi +0x34 /* 00003302 */
000032D0 12DA move.b [A1]+, [A2]+
000032D2 51CB FFF4 dbf D3, -0xE /* 000032C8 */
000032D6 60E8 bra -0x16 /* 000032C0 */
label000032D8:
000032D8 5584 subq.l D4, 2
000032DA 6B26 bmi +0x28 /* 00003302 */
000032DC 101A move.b D0, [A2]+
000032DE E148 lsl D0.w, 8
000032E0 101A move.b D0, [A2]+
000032E2 3200 move.w D1, D0
000032E4 2049 movea.l A0, A1
000032E6 0240 0FFF andi.w D0, 0xFFF
000032EA 5240 addq.w D0, 1
000032EC 90C0 sub.w A0, D0
000032EE E959 rol D1.w, 4
000032F0 0241 000F andi.w D1, 0xF
000032F4 5441 addq.w D1, 2
label000032F6:
000032F6 12D8 move.b [A1]+, [A0]+
000032F8 51C9 FFFC dbf D1, -0x6 /* 000032F6 */
000032FC 51CB FFCA dbf D3, -0x38 /* 000032C8 */
00003300 60BE bra -0x40 /* 000032C0 */
label00003302:
00003302 4CDF 041C movem.l D2,D3,D4,A2, [A7]+
00003306 4E5E unlink A6
00003308 4E75 rts
export_25:
0000330A 4E56 0000 link A6, 0
0000330E 48E7 0708 movem.l -[A7], D5,D6,D7,A4
00003312 3A2E 0008 move.w D5, [A6 + 0x8]
00003316 7E00 moveq.l D7, 0x00
00003318 7C00 moveq.l D6, 0x00
0000331A 0645 1004 addi.w D5, 0x1004
0000331E 49ED DF1E lea.l A4, [A5 - 0x20E2]
00003322 D8C6 add.w A4, D6
00003324 D8C6 add.w A4, D6
00003326 600C bra +0xE /* 00003334 */
label00003328:
00003328 BA54 cmp.w D5, [A4]
0000332A 6604 bne +0x6 /* 00003330 */
0000332C 7E01 moveq.l D7, 0x01
0000332E 600A bra +0xC /* 0000333A */
label00003330:
00003330 5246 addq.w D6, 1
00003332 548C addq.l A4, 2
label00003334:
00003334 BC6D CFE2 cmp.w D6, [A5 - 0x301E]
00003338 6DEE blt -0x10 /* 00003328 */
label0000333A:
0000333A 4A07 tst.b D7
0000333C 6612 bne +0x14 /* 00003350 */
0000333E 302D CFE2 move.w D0, [A5 - 0x301E]
00003342 204D movea.l A0, A5
00003344 D0C0 add.w A0, D0
00003346 D0C0 add.w A0, D0
00003348 3145 DF1E move.w [A0 - 0x20E2], D5
0000334C 526D CFE2 addq.w [A5 - 0x301E], 1
label00003350:
00003350 302D CFE2 move.w D0, [A5 - 0x301E]
00003354 204D movea.l A0, A5
00003356 D0C0 add.w A0, D0
00003358 D0C0 add.w A0, D0
0000335A 317C FFFF DF1E move.w [A0 - 0x20E2], 0xFFFF
00003360 4CDF 10E0 movem.l D5,D6,D7,A4, [A7]+
00003364 4E5E unlink A6
00003366 4E75 rts
export_26:
00003368 4E56 0000 link A6, 0
0000336C 48E7 0308 movem.l -[A7], D6,D7,A4
00003370 7E00 moveq.l D7, 0x00
00003372 7C00 moveq.l D6, 0x00
00003374 066E 1004 0008 addi.w [A6 + 0x8], 0x1004
0000337A 49ED DF1E lea.l A4, [A5 - 0x20E2]
0000337E D8C6 add.w A4, D6
00003380 D8C6 add.w A4, D6
00003382 601C bra +0x1E /* 000033A0 */
label00003384:
00003384 3014 move.w D0, [A4]
00003386 B06E 0008 cmp.w D0, [A6 + 0x8]
0000338A 6602 bne +0x4 /* 0000338E */
0000338C 7E01 moveq.l D7, 0x01
label0000338E:
0000338E 4A07 tst.b D7
00003390 670A beq +0xC /* 0000339C */
00003392 204D movea.l A0, A5
00003394 D0C6 add.w A0, D6
00003396 D0C6 add.w A0, D6
00003398 38A8 DF20 move.w [A4], [A0 - 0x20E0]
label0000339C:
0000339C 5246 addq.w D6, 1
0000339E 548C addq.l A4, 2
label000033A0:
000033A0 BC6D CFE2 cmp.w D6, [A5 - 0x301E]
000033A4 6DDE blt -0x20 /* 00003384 */
000033A6 4A07 tst.b D7
000033A8 6704 beq +0x6 /* 000033AE */
000033AA 536D CFE2 subq.w [A5 - 0x301E], 1
label000033AE:
000033AE 4CDF 10C0 movem.l D6,D7,A4, [A7]+
000033B2 4E5E unlink A6
000033B4 4E75 rts
fn000033B6:
000033B6 4A2D CFE0 tst.b [A5 - 0x3020]
000033BA 6616 bne +0x18 /* 000033D2 */
000033BC 4A2D CFE1 tst.b [A5 - 0x301F]
000033C0 6610 bne +0x12 /* 000033D2 */
000033C2 4A2D DF1B tst.b [A5 - 0x20E5]
000033C6 6606 bne +0x8 /* 000033CE */
000033C8 4A2D DF1C tst.b [A5 - 0x20E4]
000033CC 6704 beq +0x6 /* 000033D2 */
label000033CE:
000033CE 4EBA 0280 jsr [PC + 0x280 /* 00003650 */]
label000033D2:
000033D2 1B7C 0001 CFE0 move.b [A5 - 0x3020], 0x1
000033D8 422D CFE1 clr.b [A5 - 0x301F]
000033DC 3B7C FFFF DF4E move.w [A5 - 0x20B2], 0xFFFF
000033E2 3B7C FFFF DF52 move.w [A5 - 0x20AE], 0xFFFF
000033E8 4E75 rts
fn000033EA:
000033EA 4A2D CFE0 tst.b [A5 - 0x3020]
000033EE 6606 bne +0x8 /* 000033F6 */
000033F0 4A2D CFE1 tst.b [A5 - 0x301F]
000033F4 6704 beq +0x6 /* 000033FA */
label000033F6:
000033F6 4EBA 030C jsr [PC + 0x30C /* 00003704 */]
label000033FA:
000033FA 422D CFE0 clr.b [A5 - 0x3020]
000033FE 422D CFE1 clr.b [A5 - 0x301F]
00003402 3B7C FFFF DF4E move.w [A5 - 0x20B2], 0xFFFF
00003408 3B7C FFFF DF52 move.w [A5 - 0x20AE], 0xFFFF
0000340E 4E75 rts
export_27:
fn00003410:
00003410 4E56 0000 link A6, 0
00003414 2F07 move.l -[A7], D7
00003416 3E2E 0008 move.w D7, [A6 + 0x8]
0000341A 4A6D DF4E tst.w [A5 - 0x20B2]
0000341E 6D22 blt +0x24 /* 00003442 */
00003420 0C47 000B cmpi.w D7, 0xB
00003424 671C beq +0x1E /* 00003442 */
00003426 0C47 000E cmpi.w D7, 0xE
0000342A 6716 beq +0x18 /* 00003442 */
0000342C BE6D DF4E cmp.w D7, [A5 - 0x20B2]
00003430 6F1A ble +0x1C /* 0000344C */
00003432 0C6D 000B DF4E cmpi.w [A5 - 0x20B2], 0xB
00003438 6712 beq +0x14 /* 0000344C */
0000343A 0C6D 000E DF4E cmpi.w [A5 - 0x20B2], 0xE
00003440 670A beq +0xC /* 0000344C */
label00003442:
00003442 3B47 DF4E move.w [A5 - 0x20B2], D7
00003446 3B6E 000A DF50 move.w [A5 - 0x20B0], [A6 + 0xA]
label0000344C:
0000344C 2E1F move.l D7, [A7]+
0000344E 4E5E unlink A6
00003450 4E75 rts
fn00003452:
00003452 4E56 0000 link A6, 0
00003456 202E 0008 move.l D0, [A6 + 0x8]
0000345A 322E 000C move.w D1, [A6 + 0xC]
0000345E 6762 beq +0x64 /* 000034C2 */
00003460 6A10 bpl +0x12 /* 00003472 */
label00003462:
00003462 E288 lsr D0, 1
00003464 0641 0018 addi.w D1, 0x18
00003468 6BF8 bmi -0x6 /* 00003462 */
0000346A 600C bra +0xE /* 00003478 */
label0000346C:
0000346C E388 lsl D0, 1
0000346E 0441 0018 subi.w D1, 0x18
label00003472:
00003472 0C41 0018 cmpi.w D1, 0x18
00003476 6CF4 bge -0xA /* 0000346C */
label00003478:
00003478 D241 add.w D1, D1
0000347A 323B 1016 move.w D1, [PC + D1.w + 0x16]
0000347E 3401 move.w D2, D1
00003480 4840 swap.w D0
00003482 C2C0 mulu.w D1, D0
00003484 4840 swap.w D0
00003486 C4C0 mulu.w D2, D0
00003488 4242 clr.w D2
0000348A 4842 swap.w D2
0000348C D282 add.l D1, D2
0000348E D081 add.l D0, D1
00003490 6030 bra +0x32 /* 000034C2 */
00003492 0000 0780 ori.b D0, 0x80
00003496 0F39 172C 1F5A btst [0x172C1F5A], D7
0000349C 27C5 3070 move.l [PC + D3.w + 0x70], D5
000034A0 395C 428A move.w [A4 + 0x428A], [A4]+
000034A4 4BFE lea.l A5, <<invalid special address>>
000034A6 55B8 5FBB subq.l [0x00005FBB], 2
000034AA 6A0A bpl +0xC /* 000034B6 */
000034AC 74A6 moveq.l D2, 0xFFFFFFA6
000034AE 7F91 moveq.l D7, 0xFFFFFF91
000034B0 8ACE divu.w D5, A6
000034B2 9660 sub.w D3, -[A0]
000034B4 A248 syscall PtrZone, flags=2
label000034B6:
000034B6 AE8A syscall 0xA8A, auto_pop
000034B8 BB28 C824 xor.b [A0 - 0x37DC], D5
000034BC D582 addx.l D2, D2
000034BE E343 asl D3.w, 1
000034C0 F16D .extension 0x16D <<F/4-5/0>> // unimplemented
label000034C2:
000034C2 4E5E unlink A6
000034C4 4E75 rts
fn000034C6:
000034C6 48E7 0700 movem.l -[A7], D5,D6,D7
000034CA 4A6D DF4E tst.w [A5 - 0x20B2]
000034CE 6D44 blt +0x46 /* 00003514 */
000034D0 4A2D DF1B tst.b [A5 - 0x20E5]
000034D4 6738 beq +0x3A /* 0000350E */
000034D6 4A2D CFDE tst.b [A5 - 0x3022]
000034DA 6732 beq +0x34 /* 0000350E */
000034DC 3E2D DF4E move.w D7, [A5 - 0x20B2]
000034E0 0647 1004 addi.w D7, 0x1004
000034E4 4A6D DF50 tst.w [A5 - 0x20B0]
000034E8 6718 beq +0x1A /* 00003502 */
000034EA 3F07 move.w -[A7], D7
000034EC 4EBA 1DC2 jsr [PC + 0x1DC2 /* 000052B0 */]
000034F0 2C00 move.l D6, D0
000034F2 3EAD DF50 move.w [A7], [A5 - 0x20B0]
000034F6 2F06 move.l -[A7], D6
000034F8 4EBA FF58 jsr [PC - 0xA8 /* 00003452 */]
000034FC 2A00 move.l D5, D0
000034FE 5C8F addq.l A7, 6
00003500 6002 bra +0x4 /* 00003504 */
label00003502:
00003502 7A00 moveq.l D5, 0x00
label00003504:
00003504 2F05 move.l -[A7], D5
00003506 3F07 move.w -[A7], D7
00003508 4EBA 1E3C jsr [PC + 0x1E3C /* 00005346 */]
0000350C 5C8F addq.l A7, 6
label0000350E:
0000350E 3B7C FFFF DF4E move.w [A5 - 0x20B2], 0xFFFF
label00003514:
00003514 4CDF 00E0 movem.l D5,D6,D7, [A7]+
00003518 4E75 rts
0000351A 4A2D CFDE tst.b [A5 - 0x3022]
0000351E 6704 beq +0x6 /* 00003524 */
00003520 4EBA 210A jsr [PC + 0x210A /* 0000562C */]
label00003524:
00003524 3B7C FFFF DF4E move.w [A5 - 0x20B2], 0xFFFF
0000352A 4E75 rts
fn0000352C:
0000352C 4A6D DF52 tst.w [A5 - 0x20AE]
00003530 6D22 blt +0x24 /* 00003554 */
00003532 4A2D DF1C tst.b [A5 - 0x20E4]
00003536 6716 beq +0x18 /* 0000354E */
00003538 4A2D CFDE tst.b [A5 - 0x3022]
0000353C 6710 beq +0x12 /* 0000354E */
0000353E 306D DF52 movea.w A0, [A5 - 0x20AE]
00003542 2F08 move.l -[A7], A0
00003544 3F3C 0001 move.w -[A7], 0x1
00003548 4EBA 08F8 jsr [PC + 0x8F8 /* 00003E42 */]
0000354C 5C8F addq.l A7, 6
label0000354E:
0000354E 3B7C FFFF DF52 move.w [A5 - 0x20AE], 0xFFFF
label00003554:
00003554 4E75 rts
fn00003556:
00003556 4E56 0000 link A6, 0
0000355A 4A2D DF1C tst.b [A5 - 0x20E4]
0000355E 6716 beq +0x18 /* 00003576 */
00003560 4A2D CFDE tst.b [A5 - 0x3022]
00003564 6710 beq +0x12 /* 00003576 */
00003566 306E 0008 movea.w A0, [A6 + 0x8]
0000356A 2F08 move.l -[A7], A0
0000356C 3F3C 000D move.w -[A7], 0xD /* '\r' */
00003570 4EBA 08D0 jsr [PC + 0x8D0 /* 00003E42 */]
00003574 5C8F addq.l A7, 6
label00003576:
00003576 4E5E unlink A6
00003578 4E75 rts
0000357A 4A2D CFDE tst.b [A5 - 0x3022]
0000357E 670C beq +0xE /* 0000358C */
00003580 42A7 clr.l -[A7]
00003582 3F3C 0002 move.w -[A7], 0x2
00003586 4EBA 08BA jsr [PC + 0x8BA /* 00003E42 */]
0000358A 5C8F addq.l A7, 6
label0000358C:
0000358C 3B7C FFFF DF52 move.w [A5 - 0x20AE], 0xFFFF
00003592 4E75 rts
00003594 4A2D CFDE tst.b [A5 - 0x3022]
00003598 670C beq +0xE /* 000035A6 */
0000359A 4EBA 2112 jsr [PC + 0x2112 /* 000056AE */]
0000359E 4A00 tst.b D0
000035A0 6604 bne +0x6 /* 000035A6 */
000035A2 7001 moveq.l D0, 0x01
000035A4 601C bra +0x1E /* 000035C2 */
label000035A6:
000035A6 4A2D CFDE tst.b [A5 - 0x3022]
000035AA 6714 beq +0x16 /* 000035C0 */
000035AC 42A7 clr.l -[A7]
000035AE 3F3C 0003 move.w -[A7], 0x3
000035B2 4EBA 088E jsr [PC + 0x88E /* 00003E42 */]
000035B6 4A80 tst.l D0
000035B8 5C8F addq.l A7, 6
000035BA 6604 bne +0x6 /* 000035C0 */
000035BC 7001 moveq.l D0, 0x01
000035BE 6002 bra +0x4 /* 000035C2 */
label000035C0:
000035C0 7000 moveq.l D0, 0x00
label000035C2:
000035C2 4E75 rts
000035C4 4E56 0000 link A6, 0
000035C8 2F07 move.l -[A7], D7
000035CA 4A2D CFDE tst.b [A5 - 0x3022]
000035CE 6720 beq +0x22 /* 000035F0 */
000035D0 42A7 clr.l -[A7]
000035D2 3F3C 0004 move.w -[A7], 0x4
000035D6 4EBA 086A jsr [PC + 0x86A /* 00003E42 */]
000035DA 2E00 move.l D7, D0
000035DC 4A87 tst.l D7
000035DE 5C8F addq.l A7, 6
000035E0 6F0A ble +0xC /* 000035EC */
000035E2 BEAE 0008 cmp.l D7, [A6 + 0x8]
000035E6 6C04 bge +0x6 /* 000035EC */
000035E8 7000 moveq.l D0, 0x00
000035EA 6006 bra +0x8 /* 000035F2 */
label000035EC:
000035EC 7001 moveq.l D0, 0x01
000035EE 6002 bra +0x4 /* 000035F2 */
label000035F0:
000035F0 7001 moveq.l D0, 0x01
label000035F2:
000035F2 2E1F move.l D7, [A7]+
000035F4 4E5E unlink A6
000035F6 4E75 rts
fn000035F8:
000035F8 4A2D CFDE tst.b [A5 - 0x3022]
000035FC 6716 beq +0x18 /* 00003614 */
000035FE 4EBA 202C jsr [PC + 0x202C /* 0000562C */]
00003602 4EBA 0E58 jsr [PC + 0xE58 /* 0000445C */]
00003606 422D CFDE clr.b [A5 - 0x3022]
0000360A A01C syscall FreeMem
0000360C A04C syscall CompactMem
0000360E 1B7C 0001 CFDF move.b [A5 - 0x3021], 0x1
label00003614:
00003614 4A2D CFE0 tst.b [A5 - 0x3020]
00003618 670A beq +0xC /* 00003624 */
0000361A 422D CFE0 clr.b [A5 - 0x3020]
0000361E 1B7C 0001 CFE1 move.b [A5 - 0x301F], 0x1
label00003624:
00003624 4E75 rts
fn00003626:
00003626 4A2D CFDF tst.b [A5 - 0x3021]
0000362A 6712 beq +0x14 /* 0000363E */
0000362C 4EBA 0E5A jsr [PC + 0xE5A /* 00004488 */]
00003630 1B7C 0001 CFDE move.b [A5 - 0x3022], 0x1
00003636 A01C syscall FreeMem
00003638 A04C syscall CompactMem
0000363A 422D CFDF clr.b [A5 - 0x3021]
label0000363E:
0000363E 4A2D CFE1 tst.b [A5 - 0x301F]
00003642 670A beq +0xC /* 0000364E */
00003644 1B7C 0001 CFE0 move.b [A5 - 0x3020], 0x1
0000364A 422D CFE1 clr.b [A5 - 0x301F]
label0000364E:
0000364E 4E75 rts
fn00003650:
00003650 48E7 0300 movem.l -[A7], D6,D7
00003654 4A2D CFDE tst.b [A5 - 0x3022]
00003658 6600 00A4 bne +0xA6 /* 000036FE */
0000365C 4A2D CFDF tst.b [A5 - 0x3021]
00003660 6600 009C bne +0x9E /* 000036FE */
00003664 4A2D CE5E tst.b [A5 - 0x31A2]
00003668 6704 beq +0x6 /* 0000366E */
0000366A 7E02 moveq.l D7, 0x02
0000366C 6002 bra +0x4 /* 00003670 */
label0000366E:
0000366E 7E01 moveq.l D7, 0x01
label00003670:
00003670 4A2D DF1C tst.b [A5 - 0x20E4]
00003674 6718 beq +0x1A /* 0000368E */
00003676 3F07 move.w -[A7], D7
00003678 3F2D D62A move.w -[A7], [A5 - 0x29D6]
0000367C 3F2D D628 move.w -[A7], [A5 - 0x29D8]
00003680 3F2D D626 move.w -[A7], [A5 - 0x29DA]
00003684 4EBA 0C38 jsr [PC + 0xC38 /* 000042BE */]
00003688 3C00 move.w D6, D0
0000368A 508F addq.l A7, 8
0000368C 6014 bra +0x16 /* 000036A2 */
label0000368E:
0000368E 3F07 move.w -[A7], D7
00003690 3F2D D62A move.w -[A7], [A5 - 0x29D6]
00003694 3F2D D62A move.w -[A7], [A5 - 0x29D6]
00003698 4267 clr.w -[A7]
0000369A 4EBA 0C22 jsr [PC + 0xC22 /* 000042BE */]
0000369E 3C00 move.w D6, D0
000036A0 508F addq.l A7, 8
label000036A2:
000036A2 4A46 tst.w D6
000036A4 6658 bne +0x5A /* 000036FE */
000036A6 4A2D DF1B tst.b [A5 - 0x20E5]
000036AA 670E beq +0x10 /* 000036BA */
000036AC 4227 clr.b -[A7]
000036AE 486D DF1E pea.l [A5 - 0x20E2]
000036B2 4EBA 1910 jsr [PC + 0x1910 /* 00004FC4 */]
000036B6 3C00 move.w D6, D0
000036B8 5C8F addq.l A7, 6
label000036BA:
000036BA 4878 0001 push.l 0x1
000036BE 3F3C 0006 move.w -[A7], 0x6
000036C2 4EBA 077E jsr [PC + 0x77E /* 00003E42 */]
000036C6 4297 clr.l [A7]
000036C8 3F3C 0005 move.w -[A7], 0x5
000036CC 4EBA 0774 jsr [PC + 0x774 /* 00003E42 */]
000036D0 4A2D DF1C tst.b [A5 - 0x20E4]
000036D4 508F addq.l A7, 8
000036D6 6718 beq +0x1A /* 000036F0 */
000036D8 306D DF4C movea.w A0, [A5 - 0x20B4]
000036DC 2F08 move.l -[A7], A0
000036DE 4267 clr.w -[A7]
000036E0 4EBA 0760 jsr [PC + 0x760 /* 00003E42 */]
000036E4 4297 clr.l [A7]
000036E6 3F3C 0002 move.w -[A7], 0x2
000036EA 4EBA 0756 jsr [PC + 0x756 /* 00003E42 */]
000036EE 508F addq.l A7, 8
label000036F0:
000036F0 A01C syscall FreeMem
000036F2 A04C syscall CompactMem
000036F4 1B7C 0001 CFDE move.b [A5 - 0x3022], 0x1
000036FA 422D CFDF clr.b [A5 - 0x3021]
label000036FE:
000036FE 4CDF 00C0 movem.l D6,D7, [A7]+
00003702 4E75 rts
fn00003704:
00003704 4A2D CFDE tst.b [A5 - 0x3022]
00003708 6606 bne +0x8 /* 00003710 */
0000370A 4A2D CFDF tst.b [A5 - 0x3021]
0000370E 6710 beq +0x12 /* 00003720 */
label00003710:
00003710 4EBA 0CFE jsr [PC + 0xCFE /* 00004410 */]
00003714 A01C syscall FreeMem
00003716 A04C syscall CompactMem
00003718 422D CFDE clr.b [A5 - 0x3022]
0000371C 422D CFDF clr.b [A5 - 0x3021]
label00003720:
00003720 4E75 rts
fn00003722:
00003722 4A78 028E tst.w [0x0000028E /* ROM85 */]
00003726 6B22 bmi +0x24 /* 0000374A */
00003728 303C 0090 move.w D0, 0x90
0000372C A346 syscall GetOSTrapAddress, flags=3
0000372E 2248 movea.l A1, A0
00003730 303C 009F move.w D0, 0x9F
00003734 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00003736 B3C8 cmpa.l A1, A0
00003738 6710 beq +0x12 /* 0000374A */
0000373A 225F movea.l A1, [A7]+
0000373C 205F movea.l A0, [A7]+
0000373E 301F move.w D0, [A7]+
00003740 2F09 move.l -[A7], A1
00003742 A090 syscall SysEnvirons
00003744 3F40 0004 move.w [A7 + 0x4], D0
00003748 4E75 rts
label0000374A:
0000374A 206F 0004 movea.l A0, [A7 + 0x4]
0000374E 303C 0001 move.w D0, 0x1
00003752 2248 movea.l A1, A0
00003754 6006 bra +0x8 /* 0000375C */
00003756 0313 btst [A3], D1
00003758 0B02 btst D2, D5
0000375A 0100 btst D0, D0
label0000375C:
0000375C 303C 0010 move.w D0, 0x10
00003760 E240 asr D0.w, 1
00003762 5340 subq.w D0, 1
label00003764:
00003764 4258 clr.w [A0]+
00003766 51C8 FFFC dbf D0, -0x6 /* 00003764 */
0000376A 32BC 0001 move.w [A1], 0x1
0000376E 2078 02AE movea.l A0, [0x000002AE /* ROMBase */]
00003772 337C FFFE 0002 move.w [A1 + 0x2], 0xFFFE
00003778 0C28 00FF 0009 cmpi.b [A0 + 0x9], 0xFF
0000377E 6742 beq +0x44 /* 000037C2 */
00003780 4A28 0008 tst.b [A0 + 0x8]
00003784 6E20 bgt +0x22 /* 000037A6 */
00003786 337C FFFF 0002 move.w [A1 + 0x2], 0xFFFF
0000378C 4A78 028E tst.w [0x0000028E /* ROM85 */]
00003790 6B30 bmi +0x32 /* 000037C2 */
00003792 337C 0001 0002 move.w [A1 + 0x2], 0x1
00003798 4A78 0B22 tst.w [0x00000B22 /* HWCfgFlags */]
0000379C 6A24 bpl +0x26 /* 000037C2 */
0000379E 337C 0002 0002 move.w [A1 + 0x2], 0x2
000037A4 601C bra +0x1E /* 000037C2 */
label000037A6:
000037A6 4269 0002 clr.w [A1 + 0x2]
000037AA 0C28 0002 0008 cmpi.b [A0 + 0x8], 0x2
000037B0 6E10 bgt +0x12 /* 000037C2 */
000037B2 6708 beq +0xA /* 000037BC */
000037B4 337C 0004 0002 move.w [A1 + 0x2], 0x4
000037BA 6006 bra +0x8 /* 000037C2 */
label000037BC:
000037BC 337C 0003 0002 move.w [A1 + 0x2], 0x3
label000037C2:
000037C2 4269 0004 clr.w [A1 + 0x4]
000037C6 0C38 0002 012F cmpi.b [0x0000012F /* CPUFlag */], 0x2
000037CC 6E0A bgt +0xC /* 000037D8 */
000037CE 1038 012F move.b D0, [0x0000012F /* CPUFlag */]
000037D2 5240 addq.w D0, 1
000037D4 1340 0007 move.b [A1 + 0x7], D0
label000037D8:
000037D8 4A78 028E tst.w [0x0000028E /* ROM85 */]
000037DC 6B0E bmi +0x10 /* 000037EC */
000037DE 0838 0004 0B22 btst.b [0x00000B22 /* HWCfgFlags */], 0x4
000037E4 6706 beq +0x8 /* 000037EC */
000037E6 137C 0001 0008 move.b [A1 + 0x8], 0x1
label000037EC:
000037EC 0C78 3FFF 028E cmpi.w [0x0000028E /* ROM85 */], 0x3FFF
000037F2 6206 bhi +0x8 /* 000037FA */
000037F4 137C 0001 0009 move.b [A1 + 0x9], 0x1
label000037FA:
000037FA 1038 021E move.b D0, [0x0000021E /* KbdType */]
000037FE 41FA FF5B lea.l A0, [PC - 0xA5 /* 0000375B, value 0x303C00 '0<\0', cstring "" */]
00003802 323C 0004 move.w D1, 0x4
label00003806:
00003806 B020 cmp.b D0, -[A0]
00003808 57C9 FFFC dbeq D1, -0x6 /* 00003806 */
0000380C 5241 addq.w D1, 1
0000380E 3341 000A move.w [A1 + 0xA], D1
00003812 4A38 0291 tst.b [0x00000291 /* PortBUse */]
00003816 6B18 bmi +0x1A /* 00003830 */
00003818 1238 01FB move.b D1, [0x000001FB /* SPConfig */]
0000381C 0201 000F andi.b D1, 0xF
00003820 0C01 0001 cmpi.b D1, 0x1
00003824 660A bne +0xC /* 00003830 */
00003826 2078 02DC movea.l A0, [0x000002DC /* ABusDCE */]
0000382A 1368 0007 000D move.b [A1 + 0xD], [A0 + 0x7]
label00003830:
00003830 3378 0210 000E move.w [A1 + 0xE], [0x00000210 /* BootDrive */]
00003836 4A78 03F6 tst.w [0x000003F6 /* FSFCBLen */]
0000383A 6D44 blt +0x46 /* 00003880 */
0000383C 4269 000E clr.w [A1 + 0xE]
00003840 323C 003C move.w D1, 0x3C /* '<' */
label00003844:
00003844 4267 clr.w -[A7]
00003846 51C9 FFFC dbf D1, -0x6 /* 00003844 */
0000384A 204F movea.l A0, A7
0000384C 3178 0A58 0018 move.w [A0 + 0x18], [0x00000A58 /* SysMap */]
00003852 7008 moveq.l D0, 0x08
00003854 A260 syscall FSDispatch/HFSDispatch, flags=2
00003856 6624 bne +0x26 /* 0000387C */
00003858 3168 0034 0016 move.w [A0 + 0x16], [A0 + 0x34]
0000385E A207 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
00003860 661A bne +0x1C /* 0000387C */
00003862 2168 005A 0030 move.l [A0 + 0x30], [A0 + 0x5A]
00003868 217C 4552 494B 001C move.l [A0 + 0x1C], 0x4552494B /* 'ERIK' */
00003870 7001 moveq.l D0, 0x01
00003872 A260 syscall FSDispatch/HFSDispatch, flags=2
00003874 6606 bne +0x8 /* 0000387C */
00003876 3368 0016 000E move.w [A1 + 0xE], [A0 + 0x16]
label0000387C:
0000387C 4FEF 007A lea.l A7, [A7 + 0x7A]
label00003880:
00003880 2049 movea.l A0, A1
00003882 225F movea.l A1, [A7]+
00003884 5C4F addq.w A7, 6
00003886 3EBC EA84 move.w [A7], 0xEA84
0000388A 4ED1 jmp [A1]
fn0000388C:
0000388C 4E56 0000 link A6, 0
00003890 203C 0000 A89F move.l D0, 0xA89F
00003896 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00003898 2F08 move.l -[A7], A0
0000389A 203C 0000 A0AD move.l D0, 0xA0AD
000038A0 A346 syscall GetOSTrapAddress, flags=3
000038A2 B1DF cmpa.l A0, [A7]+
000038A4 670E beq +0x10 /* 000038B4 */
000038A6 202E 000C move.l D0, [A6 + 0xC]
000038AA A1AD syscall Gestalt, flags=1
000038AC 226E 0008 movea.l A1, [A6 + 0x8]
000038B0 2288 move.l [A1], A0
000038B2 6026 bra +0x28 /* 000038DA */
label000038B4:
000038B4 41FA 0036 lea.l A0, [PC + 0x36 /* 000038EC, value 0x76657273 'vers', cstring "vers" */]
000038B8 303C EA51 move.w D0, 0xEA51
000038BC 222E 000C move.l D1, [A6 + 0xC]
label000038C0:
000038C0 B298 cmp.l D1, [A0]+
000038C2 6706 beq +0x8 /* 000038CA */
000038C4 4A98 tst.l [A0]+
000038C6 6712 beq +0x14 /* 000038DA */
000038C8 60F6 bra -0x8 /* 000038C0 */
label000038CA:
000038CA 43FA 0020 lea.l A1, [PC + 0x20 /* 000038EC, value 0x76657273 'vers', cstring "vers" */]
000038CE D3D0 add.l A1, [A0]
000038D0 4ED1 jmp [A1]
label000038D2:
000038D2 226E 0008 movea.l A1, [A6 + 0x8]
000038D6 2280 move.l [A1], D0
000038D8 4240 clr.w D0
label000038DA:
000038DA 3D40 0010 move.w [A6 + 0x10], D0
000038DE 4E5E unlink A6
000038E0 205F movea.l A0, [A7]+
000038E2 508F addq.l A7, 8
000038E4 4ED0 jmp [A0]
label000038E6:
000038E6 303C EA52 move.w D0, 0xEA52
000038EA 60EE bra -0x10 /* 000038DA */
000038EC 7665 moveq.l D3, 0x65
000038EE 7273 moveq.l D1, 0x73
000038F0 0000 0060 ori.b D0, 0x60 /* '`' */
000038F4 6D61 blt +0x63 /* 00003957 */
000038F6 6368 bls +0x6A /* 00003960 */
000038F8 0000 0064 ori.b D0, 0x64 /* 'd' */
000038FC 7379 moveq.l D1, 0x79
000038FE 7376 moveq.l D1, 0x76
00003900 0000 0088 ori.b D0, 0x88
00003904 7072 moveq.l D0, 0x72
00003906 6F63 ble +0x65 /* 0000396B */
00003908 0000 0092 ori.b D0, 0x92
0000390C 6670 bne +0x72 /* 0000397E */
0000390E 7520 moveq.l D2, 0x20
00003910 0000 009E ori.b D0, 0x9E
00003914 7164 moveq.l D0, 0x64
00003916 2020 move.l D0, -[A0]
00003918 0000 00E8 ori.b D0, 0xE8
0000391C 6B62 bmi +0x64 /* 00003980 */
0000391E 6420 bcc +0x22 /* 00003940 */
00003920 0000 011A ori.b D0, 0x1A
00003924 6174 bsr +0x76 /* 0000399A */
00003926 6C6B bge +0x6D /* 00003993 */
00003928 0000 0142 ori.b D0, 0x42 /* 'B' */
0000392C 6D6D blt +0x6F /* 0000399B */
0000392E 7520 moveq.l D2, 0x20
00003930 0000 0164 ori.b D0, 0x64 /* 'd' */
00003934 7261 moveq.l D1, 0x61
00003936 6D20 blt +0x22 /* 00003958 */
00003938 0000 0188 ori.b D0, 0x88
0000393C 6C72 bge +0x74 /* 000039B0 */
0000393E 616D bsr +0x6F /* 000039AD */
label00003940:
00003940 0000 0188 ori.b D0, 0x88
00003944 0000 0000 ori.b D0, 0x0
00003948 0000 0000 ori.b D0, 0x0
0000394C 7001 moveq.l D0, 0x01
0000394E 6082 bra -0x7C /* 000038D2 */
00003950 2278 02AE movea.l A1, [0x000002AE /* ROMBase */]
00003954 7004 moveq.l D0, 0x04
00003956 0C69 0075 0008 cmpi.w [A1 + 0x8], 0x75 /* 'u' */
// begin alternate branch 00003958-00003960
label00003958:
00003958 0075 0008 6712 0C69 ori.w [[A5 + D6 * 8] + 0xC69], 0x8
// end alternate branch 00003958-00003960
label00003958: // (misaligned)
0000395C 6712 beq +0x14 /* 00003970 */
0000395E 0C69 0276 0008 cmpi.w [A1 + 0x8], 0x276
// begin alternate branch 00003960-00003966
label00003960:
00003960 0276 0008 6604 andi.w [A6 + D6.w * 8 + 0x4], 0x8
// end alternate branch 00003960-00003966
label00003960: // (misaligned)
00003964 6604 bne +0x6 /* 0000396A */
00003966 5240 addq.w D0, 1
00003968 6006 bra +0x8 /* 00003970 */
label0000396A:
0000396A 1038 0CB3 move.b D0, [0x00000CB3 /* MMUFluff/MachineType */]
0000396E 5C80 addq.l D0, 6
label00003970:
00003970 6000 FF60 bra -0x9E /* 000038D2 */
00003974 7000 moveq.l D0, 0x00
00003976 3038 015A move.w D0, [0x0000015A /* SysVersion */]
0000397A 6000 FF56 bra -0xA8 /* 000038D2 */
label0000397E:
0000397E 7000 moveq.l D0, 0x00
label00003980:
00003980 1038 012F move.b D0, [0x0000012F /* CPUFlag */]
00003984 5240 addq.w D0, 1
00003986 6000 FF4A bra -0xB4 /* 000038D2 */
0000398A 0C38 0004 012F cmpi.b [0x0000012F /* CPUFlag */], 0x4
00003990 6738 beq +0x3A /* 000039CA */
00003992 0838 0004 0B22 btst.b [0x00000B22 /* HWCfgFlags */], 0x4
00003998 6734 beq +0x36 /* 000039CE */
fn0000399A:
0000399A 204F movea.l A0, A7
0000399C F280 0000 fnop
000039A0 F327 .extension 0x327 <<F/4-5/1>> // unimplemented
000039A2 3017 move.w D0, [A7]
000039A4 2E48 movea.l A7, A0
000039A6 0C40 1F18 cmpi.w D0, 0x1F18
000039AA 6716 beq +0x18 /* 000039C2 */
000039AC 0C40 3F18 cmpi.w D0, 0x3F18
label000039B0:
000039B0 6710 beq +0x12 /* 000039C2 */
000039B2 0C40 3F38 cmpi.w D0, 0x3F38 /* '?8' */
000039B6 670E beq +0x10 /* 000039C6 */
000039B8 0C40 1F38 cmpi.w D0, 0x1F38
000039BC 6708 beq +0xA /* 000039C6 */
000039BE 7000 moveq.l D0, 0x00
000039C0 600E bra +0x10 /* 000039D0 */
label000039C2:
000039C2 7001 moveq.l D0, 0x01
000039C4 600A bra +0xC /* 000039D0 */
label000039C6:
000039C6 7002 moveq.l D0, 0x02
000039C8 6006 bra +0x8 /* 000039D0 */
label000039CA:
000039CA 7003 moveq.l D0, 0x03
000039CC 6002 bra +0x4 /* 000039D0 */
label000039CE:
000039CE 7000 moveq.l D0, 0x00
label000039D0:
000039D0 6000 FF00 bra -0xFE /* 000038D2 */
000039D4 0C78 3FFF 028E cmpi.w [0x0000028E /* ROM85 */], 0x3FFF
000039DA 6E1C bgt +0x1E /* 000039F8 */
000039DC 303C A89F move.w D0, 0xA89F
000039E0 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
000039E2 2408 move.l D2, A0
000039E4 203C 0000 AB03 move.l D0, 0xAB03
000039EA A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
000039EC 203C 0000 0100 move.l D0, 0x100
000039F2 B488 cmp.l D2, A0
000039F4 6606 bne +0x8 /* 000039FC */
000039F6 600A bra +0xC /* 00003A02 */
label000039F8:
000039F8 7000 moveq.l D0, 0x00
000039FA 6006 bra +0x8 /* 00003A02 */
label000039FC:
000039FC 203C 0000 0200 move.l D0, 0x200
label00003A02:
00003A02 6000 FECE bra -0x130 /* 000038D2 */
00003A06 1038 021E move.b D0, [0x0000021E /* KbdType */]
00003A0A 41FA 0016 lea.l A0, [PC + 0x16 /* 00003A22, value 0x3130B02 */]
00003A0E 2248 movea.l A1, A0
label00003A10:
00003A10 1218 move.b D1, [A0]+
00003A12 6700 FED2 beq -0x12C /* 000038E6 */
00003A16 B200 cmp.b D1, D0
00003A18 66F6 bne -0x8 /* 00003A10 */
00003A1A 91C9 sub.l A0, A1
00003A1C 2008 move.l D0, A0
00003A1E 6000 FEB2 bra -0x14C /* 000038D2 */
00003A22 0313 btst [A3], D1
00003A24 0B02 btst D2, D5
00003A26 0106 btst D6, D0
00003A28 0704 btst D4, D3
00003A2A 0508 btst A0, D2
00003A2C 0900 btst D0, D4
00003A2E 7000 moveq.l D0, 0x00
00003A30 4A38 0291 tst.b [0x00000291 /* PortBUse */]
00003A34 6B16 bmi +0x18 /* 00003A4C */
00003A36 1238 01FB move.b D1, [0x000001FB /* SPConfig */]
00003A3A 0201 000F andi.b D1, 0xF
00003A3E 0C01 0001 cmpi.b D1, 0x1
00003A42 6608 bne +0xA /* 00003A4C */
00003A44 2078 02DC movea.l A0, [0x000002DC /* ABusDCE */]
00003A48 1028 0007 move.b D0, [A0 + 0x7]
label00003A4C:
00003A4C 6000 FE84 bra -0x17A /* 000038D2 */
00003A50 0C38 0002 012F cmpi.b [0x0000012F /* CPUFlag */], 0x2
00003A56 6D16 blt +0x18 /* 00003A6E */
00003A58 7000 moveq.l D0, 0x00
00003A5A 1038 0CB1 move.b D0, [0x00000CB1 /* MMUType */]
00003A5E 0C00 0001 cmpi.b D0, 0x1
00003A62 670C beq +0xE /* 00003A70 */
00003A64 0C00 0003 cmpi.b D0, 0x3
00003A68 6D04 blt +0x6 /* 00003A6E */
00003A6A 5340 subq.w D0, 1
00003A6C 6002 bra +0x4 /* 00003A70 */
label00003A6E:
00003A6E 7000 moveq.l D0, 0x00
label00003A70:
00003A70 6000 FE60 bra -0x19E /* 000038D2 */
00003A74 303C A89F move.w D0, 0xA89F
00003A78 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00003A7A 2408 move.l D2, A0
00003A7C 203C 0000 A88F move.l D0, 0xA88F
00003A82 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00003A84 2038 0108 move.l D0, [0x00000108 /* MemTop */]
00003A88 B488 cmp.l D2, A0
00003A8A 670A beq +0xC /* 00003A96 */
00003A8C 598F subq.l A7, 4
00003A8E 3F3C 0016 move.w -[A7], 0x16
00003A92 A88F syscall OSDispatch
00003A94 201F move.l D0, [A7]+
label00003A96:
00003A96 6000 FE3A bra -0x1C4 /* 000038D2 */
fn00003A9A:
00003A9A 225F movea.l A1, [A7]+
00003A9C 205F movea.l A0, [A7]+
00003A9E A025 syscall GetHandleSize
00003AA0 2E80 move.l [A7], D0
00003AA2 6A02 bpl +0x4 /* 00003AA6 */
00003AA4 4297 clr.l [A7]
label00003AA6:
00003AA6 4ED1 jmp [A1]
fn00003AA8:
00003AA8 225F movea.l A1, [A7]+
00003AAA 121F move.b D1, [A7]+
00003AAC 301F move.w D0, [A7]+
00003AAE 4A01 tst.b D1
00003AB0 6704 beq +0x6 /* 00003AB6 */
00003AB2 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00003AB4 6002 bra +0x4 /* 00003AB8 */
label00003AB6:
00003AB6 A346 syscall GetOSTrapAddress, flags=3
label00003AB8:
00003AB8 2E88 move.l [A7], A0
00003ABA 4ED1 jmp [A1]
fn00003ABC:
00003ABC 225F movea.l A1, [A7]+
00003ABE 121F move.b D1, [A7]+
00003AC0 205F movea.l A0, [A7]+
00003AC2 7000 moveq.l D0, 0x00
00003AC4 1018 move.b D0, [A0]+
00003AC6 2F09 move.l -[A7], A1
00003AC8 4A01 tst.b D1
00003ACA 6704 beq +0x6 /* 00003AD0 */
00003ACC A054 syscall UprString/UprText
00003ACE 6002 bra +0x4 /* 00003AD2 */
label00003AD0:
00003AD0 A254 syscall UprString/UprText, flags=2
label00003AD2:
00003AD2 4E75 rts
export_29:
00003AD4 4E56 FFCE link A6, -0x0032
00003AD8 204F movea.l A0, A7
00003ADA 216E 000E 0012 move.l [A0 + 0x12], [A6 + 0xE]
00003AE0 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
00003AE6 4228 001A clr.b [A0 + 0x1A]
00003AEA 4228 001B clr.b [A0 + 0x1B]
00003AEE 42A8 001C clr.l [A0 + 0x1C]
00003AF2 701A moveq.l D0, 0x1A
00003AF4 A060 syscall FSDispatch/HFSDispatch
00003AF6 0C40 FFCE cmpi.w D0, 0xFFCE
00003AFA 6602 bne +0x4 /* 00003AFE */
00003AFC A000 syscall Open/PBHOpen/HOpen
label00003AFE:
00003AFE 226E 0008 movea.l A1, [A6 + 0x8]
00003B02 32A8 0018 move.w [A1], [A0 + 0x18]
00003B06 3D40 0012 move.w [A6 + 0x12], D0
00003B0A 4E5E unlink A6
00003B0C 205F movea.l A0, [A7]+
00003B0E 4FEF 000A lea.l A7, [A7 + 0xA]
00003B12 4ED0 jmp [A0]
export_30:
00003B14 4E56 FFCE link A6, -0x0032
00003B18 204F movea.l A0, A7
00003B1A 316E 0008 0018 move.w [A0 + 0x18], [A6 + 0x8]
00003B20 A001 syscall Close
00003B22 3D40 000A move.w [A6 + 0xA], D0
00003B26 4E5E unlink A6
00003B28 205F movea.l A0, [A7]+
00003B2A 548F addq.l A7, 2
00003B2C 4ED0 jmp [A0]
export_31:
00003B2E 51C1 sf D1
00003B30 6002 bra +0x4 /* 00003B34 */
00003B32 50C1 st D1
label00003B34:
00003B34 4E56 FFCE link A6, -0x0032
00003B38 204F movea.l A0, A7
00003B3A 216E 0008 0020 move.l [A0 + 0x20], [A6 + 0x8]
00003B40 316E 0010 0018 move.w [A0 + 0x18], [A6 + 0x10]
00003B46 226E 000C movea.l A1, [A6 + 0xC]
00003B4A 2151 0024 move.l [A0 + 0x24], [A1]
00003B4E 4268 002C clr.w [A0 + 0x2C]
00003B52 42A8 002E clr.l [A0 + 0x2E]
00003B56 4A01 tst.b D1
00003B58 6604 bne +0x6 /* 00003B5E */
00003B5A A002 syscall Read
00003B5C 6002 bra +0x4 /* 00003B60 */
label00003B5E:
00003B5E A003 syscall Write
label00003B60:
00003B60 3D40 0012 move.w [A6 + 0x12], D0
00003B64 226E 000C movea.l A1, [A6 + 0xC]
00003B68 22A8 0028 move.l [A1], [A0 + 0x28]
00003B6C 4E5E unlink A6
00003B6E 225F movea.l A1, [A7]+
00003B70 4FEF 000A lea.l A7, [A7 + 0xA]
00003B74 4ED1 jmp [A1]
fn00003B76:
00003B76 4E56 FFC0 link A6, -0x0040
00003B7A 204F movea.l A0, A7
00003B7C 216E 000C 0012 move.l [A0 + 0x12], [A6 + 0xC]
00003B82 A014 syscall GetVol/PBHGetVol/HGetVol
00003B84 3D40 0010 move.w [A6 + 0x10], D0
00003B88 226E 0008 movea.l A1, [A6 + 0x8]
00003B8C 32A8 0016 move.w [A1], [A0 + 0x16]
00003B90 4E5E unlink A6
00003B92 225F movea.l A1, [A7]+
00003B94 508F addq.l A7, 8
00003B96 4ED1 jmp [A1]
export_32:
00003B98 4E56 FFCE link A6, -0x0032
00003B9C 204F movea.l A0, A7
00003B9E 316E 000E 0018 move.w [A0 + 0x18], [A6 + 0xE]
00003BA4 316E 000C 002C move.w [A0 + 0x2C], [A6 + 0xC]
00003BAA 216E 0008 002E move.l [A0 + 0x2E], [A6 + 0x8]
00003BB0 A044 syscall SetFPos
00003BB2 3D40 0010 move.w [A6 + 0x10], D0
00003BB6 4E5E unlink A6
00003BB8 225F movea.l A1, [A7]+
00003BBA 508F addq.l A7, 8
00003BBC 4ED1 jmp [A1]
fn00003BBE:
00003BBE 226F 0004 movea.l A1, [A7 + 0x4]
00003BC2 4251 clr.w [A1]
00003BC4 2078 0AEC movea.l A0, [0x00000AEC /* AppParmHandle */]
00003BC8 A025 syscall GetHandleSize
00003BCA 4A80 tst.l D0
00003BCC 6F0E ble +0x10 /* 00003BDC */
00003BCE 2050 movea.l A0, [A0]
00003BD0 226F 0008 movea.l A1, [A7 + 0x8]
00003BD4 3298 move.w [A1], [A0]+
00003BD6 226F 0004 movea.l A1, [A7 + 0x4]
00003BDA 3290 move.w [A1], [A0]
label00003BDC:
00003BDC 205F movea.l A0, [A7]+
00003BDE 504F addq.w A7, 8
00003BE0 4ED0 jmp [A0]
fn00003BE2:
00003BE2 48E7 0030 movem.l -[A7], A2,A3
00003BE6 226F 000C movea.l A1, [A7 + 0xC]
00003BEA 42A9 0002 clr.l [A1 + 0x2]
00003BEE 2078 0AEC movea.l A0, [0x00000AEC /* AppParmHandle */]
00003BF2 A025 syscall GetHandleSize
00003BF4 4A80 tst.l D0
00003BF6 6F26 ble +0x28 /* 00003C1E */
00003BF8 2450 movea.l A2, [A0]
00003BFA 544A addq.w A2, 2
00003BFC 322F 0010 move.w D1, [A7 + 0x10]
00003C00 B25A cmp.w D1, [A2]+
00003C02 6E1A bgt +0x1C /* 00003C1E */
00003C04 5341 subq.w D1, 1
label00003C06:
00003C06 6D16 blt +0x18 /* 00003C1E */
00003C08 204A movea.l A0, A2
00003C0A 7002 moveq.l D0, 0x02
00003C0C D028 0008 add.b D0, [A0 + 0x8]
00003C10 0240 FFFE andi.w D0, 0xFFFE
00003C14 5040 addq.w D0, 8
00003C16 D4C0 add.w A2, D0
00003C18 A02E syscall BlockMove/BlockMoveData
00003C1A 5341 subq.w D1, 1
00003C1C 60E8 bra -0x16 /* 00003C06 */
label00003C1E:
00003C1E 4CDF 0C00 movem.l A2,A3, [A7]+
00003C22 205F movea.l A0, [A7]+
00003C24 5C4F addq.w A7, 6
00003C26 4ED0 jmp [A0]
fn00003C28:
00003C28 2078 0AEC movea.l A0, [0x00000AEC /* AppParmHandle */]
00003C2C A025 syscall GetHandleSize
00003C2E 4A80 tst.l D0
00003C30 6F28 ble +0x2A /* 00003C5A */
00003C32 2050 movea.l A0, [A0]
00003C34 5448 addq.w A0, 2
00003C36 322F 0004 move.w D1, [A7 + 0x4]
00003C3A B258 cmp.w D1, [A0]+
00003C3C 6E1C bgt +0x1E /* 00003C5A */
00003C3E 5341 subq.w D1, 1
label00003C40:
00003C40 6D18 blt +0x1A /* 00003C5A */
00003C42 6712 beq +0x14 /* 00003C56 */
00003C44 7002 moveq.l D0, 0x02
00003C46 D028 0008 add.b D0, [A0 + 0x8]
00003C4A 0240 FFFE andi.w D0, 0xFFFE
00003C4E 5040 addq.w D0, 8
00003C50 D0C0 add.w A0, D0
00003C52 5341 subq.w D1, 1
00003C54 60EA bra -0x14 /* 00003C40 */
label00003C56:
00003C56 42A8 0002 clr.l [A0 + 0x2]
label00003C5A:
00003C5A 205F movea.l A0, [A7]+
00003C5C 544F addq.w A7, 2
00003C5E 4ED0 jmp [A0]
export_33:
fn00003C60:
00003C60 206F 0004 movea.l A0, [A7 + 0x4]
00003C64 202F 0008 move.l D0, [A7 + 0x8]
00003C68 4267 clr.w -[A7]
00003C6A A9EE syscall Pack7/DecStr68K
00003C6C 205F movea.l A0, [A7]+
00003C6E 504F addq.w A7, 8
00003C70 4ED0 jmp [A0]
fn00003C72:
00003C72 225F movea.l A1, [A7]+
00003C74 201F move.l D0, [A7]+
00003C76 0838 0006 028E btst.b [0x0000028E /* ROM85 */], 0x6
00003C7C 6606 bne +0x8 /* 00003C84 */
00003C7E A055 syscall StripAddress
00003C80 2E80 move.l [A7], D0
00003C82 4ED1 jmp [A1]
label00003C84:
00003C84 C0B8 031A and.l D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
00003C88 2E80 move.l [A7], D0
00003C8A 4ED1 jmp [A1]
fn00003C8C:
00003C8C 48E7 0108 movem.l -[A7], D7,A4
00003C90 70FF moveq.l D0, 0xFFFFFFFF
00003C92 B0AD FE78 cmp.l D0, [A5 - 0x188]
00003C96 663E bne +0x40 /* 00003CD6 */
00003C98 42AD FE78 clr.l [A5 - 0x188]
00003C9C 4267 clr.w -[A7]
00003C9E 2F3C 612F 7578 move.l -[A7], 0x612F7578 /* 'a/ux' */
00003CA4 486D FE78 pea.l [A5 - 0x188]
00003CA8 4EBA FBE2 jsr [PC - 0x41E /* 0000388C */]
00003CAC 3E1F move.w D7, [A7]+
00003CAE 0C47 EA52 cmpi.w D7, 0xEA52
00003CB2 6706 beq +0x8 /* 00003CBA */
00003CB4 0C47 EA51 cmpi.w D7, 0xEA51
00003CB8 6604 bne +0x6 /* 00003CBE */
label00003CBA:
00003CBA 387C 0B22 movea.w A4, 0xB22
label00003CBE:
00003CBE 0814 0001 btst.b [A4], 0x1
00003CC2 6708 beq +0xA /* 00003CCC */
00003CC4 2B7C 0000 0100 FE78 move.l [A5 - 0x188], 0x100
label00003CCC:
00003CCC 202D FE78 move.l D0, [A5 - 0x188]
00003CD0 E080 asr D0, 8
00003CD2 2B40 FE78 move.l [A5 - 0x188], D0
label00003CD6:
00003CD6 302D FE7A move.w D0, [A5 - 0x186]
00003CDA 4CDF 1080 movem.l D7,A4, [A7]+
00003CDE 4E75 rts
fn00003CE0:
00003CE0 4E56 0000 link A6, 0
00003CE4 48E7 0300 movem.l -[A7], D6,D7
00003CE8 1C2E 0008 move.b D6, [A6 + 0x8]
00003CEC 302D FE9E move.w D0, [A5 - 0x162]
00003CF0 E048 lsr D0.w, 8
00003CF2 BD00 xor.b D0, D6
00003CF4 1E00 move.b D7, D0
00003CF6 7000 moveq.l D0, 0x00
00003CF8 1006 move.b D0, D6
00003CFA D06D FE9E add.w D0, [A5 - 0x162]
00003CFE C0FC CE6D mulu.w D0, 0xCE6D
00003D02 0640 58BF addi.w D0, 0x58BF
00003D06 3B40 FE9E move.w [A5 - 0x162], D0
00003D0A 1007 move.b D0, D7
00003D0C 4CDF 00C0 movem.l D6,D7, [A7]+
00003D10 4E5E unlink A6
00003D12 4E75 rts
fn00003D14:
00003D14 4E56 0000 link A6, 0
00003D18 48E7 0138 movem.l -[A7], D7,A2,A3,A4
00003D1C 246E 0008 movea.l A2, [A6 + 0x8]
00003D20 200A move.l D0, A2
00003D22 6730 beq +0x32 /* 00003D54 */
00003D24 3B7C DCE5 FE9E move.w [A5 - 0x162], 0xDCE5
00003D2A 204A movea.l A0, A2
00003D2C A029 syscall HLock
00003D2E 2852 movea.l A4, [A2]
00003D30 42A7 clr.l -[A7]
00003D32 2F0A move.l -[A7], A2
00003D34 4EBA FD64 jsr [PC - 0x29C /* 00003A9A */]
00003D38 264C movea.l A3, A4
00003D3A D7DF add.l A3, [A7]+
00003D3C 5E8C addq.l A4, 7
00003D3E 600C bra +0xE /* 00003D4C */
label00003D40:
00003D40 1F14 move.b -[A7], [A4]
00003D42 4EBA FF9C jsr [PC - 0x64 /* 00003CE0 */]
00003D46 1880 move.b [A4], D0
00003D48 528C addq.l A4, 1
00003D4A 548F addq.l A7, 2
label00003D4C:
00003D4C B7CC cmpa.l A3, A4
00003D4E 62F0 bhi -0xE /* 00003D40 */
00003D50 204A movea.l A0, A2
00003D52 A02A syscall HUnlock
label00003D54:
00003D54 4CDF 1C80 movem.l D7,A2,A3,A4, [A7]+
00003D58 4E5E unlink A6
00003D5A 4E75 rts
00003D5C 4E56 FFFE link A6, -0x0002
00003D60 2F0C move.l -[A7], A4
00003D62 42A7 clr.l -[A7]
00003D64 2F3C 534F 4E47 move.l -[A7], 0x534F4E47 /* 'SONG' */
00003D6A 3F2E 0008 move.w -[A7], [A6 + 0x8]
00003D6E A9A0 syscall GetResource
00003D70 285F movea.l A4, [A7]+
00003D72 200C move.l D0, A4
00003D74 675A beq +0x5C /* 00003DD0 */
00003D76 2054 movea.l A0, [A4]
00003D78 3D50 0008 move.w [A6 + 0x8], [A0]
00003D7C 4A2D FE93 tst.b [A5 - 0x16D]
00003D80 6706 beq +0x8 /* 00003D88 */
00003D82 204C movea.l A0, A4
00003D84 A029 syscall HLock
00003D86 6004 bra +0x6 /* 00003D8C */
label00003D88:
00003D88 204C movea.l A0, A4
00003D8A A02A syscall HUnlock
label00003D8C:
00003D8C 4A2D FE92 tst.b [A5 - 0x16E]
00003D90 6706 beq +0x8 /* 00003D98 */
00003D92 204C movea.l A0, A4
00003D94 A049 syscall HPurge
00003D96 6004 bra +0x6 /* 00003D9C */
label00003D98:
00003D98 204C movea.l A0, A4
00003D9A A04A syscall HNoPurge
label00003D9C:
00003D9C 42A7 clr.l -[A7]
00003D9E 2F3C 4D49 4449 move.l -[A7], 0x4D494449 /* 'MIDI' */
00003DA4 3F2E 0008 move.w -[A7], [A6 + 0x8]
00003DA8 A9A0 syscall GetResource
00003DAA 285F movea.l A4, [A7]+
00003DAC 200C move.l D0, A4
00003DAE 6720 beq +0x22 /* 00003DD0 */
00003DB0 4A2D FE93 tst.b [A5 - 0x16D]
00003DB4 6706 beq +0x8 /* 00003DBC */
00003DB6 204C movea.l A0, A4
00003DB8 A029 syscall HLock
00003DBA 6004 bra +0x6 /* 00003DC0 */
label00003DBC:
00003DBC 204C movea.l A0, A4
00003DBE A02A syscall HUnlock
label00003DC0:
00003DC0 4A2D FE92 tst.b [A5 - 0x16E]
00003DC4 6706 beq +0x8 /* 00003DCC */
00003DC6 204C movea.l A0, A4
00003DC8 A049 syscall HPurge
00003DCA 6004 bra +0x6 /* 00003DD0 */
label00003DCC:
00003DCC 204C movea.l A0, A4
00003DCE A04A syscall HNoPurge
label00003DD0:
00003DD0 285F movea.l A4, [A7]+
00003DD2 4E5E unlink A6
00003DD4 4E75 rts
fn00003DD6:
00003DD6 4E56 FFFC link A6, -0x0004
00003DDA 2F0B move.l -[A7], A3
00003DDC 206E 000A movea.l A0, [A6 + 0xA]
00003DE0 4250 clr.w [A0]
00003DE2 42A7 clr.l -[A7]
00003DE4 2F3C 4A6E 7468 move.l -[A7], 0x4A6E7468 /* 'Jnth' */
00003DEA 3F2E 0008 move.w -[A7], [A6 + 0x8]
00003DEE A9A0 syscall GetResource
00003DF0 265F movea.l A3, [A7]+
00003DF2 200B move.l D0, A3
00003DF4 6706 beq +0x8 /* 00003DFC */
00003DF6 2F0B move.l -[A7], A3
00003DF8 A992 syscall DetachResource
00003DFA 603E bra +0x40 /* 00003E3A */
label00003DFC:
00003DFC 42A7 clr.l -[A7]
00003DFE 2F3C 4D44 5256 move.l -[A7], 0x4D445256 /* 'MDRV' */
00003E04 3F2E 0008 move.w -[A7], [A6 + 0x8]
00003E08 A9A0 syscall GetResource
00003E0A 265F movea.l A3, [A7]+
00003E0C 200B move.l D0, A3
00003E0E 6722 beq +0x24 /* 00003E32 */
00003E10 2F0B move.l -[A7], A3
00003E12 A992 syscall DetachResource
00003E14 2F0B move.l -[A7], A3
00003E16 4EBA FEFC jsr [PC - 0x104 /* 00003D14 */]
00003E1A 2E8B move.l [A7], A3
00003E1C 4EBA 0A64 jsr [PC + 0xA64 /* 00004882 */]
00003E20 2640 movea.l A3, D0
00003E22 200B move.l D0, A3
00003E24 588F addq.l A7, 4
00003E26 6612 bne +0x14 /* 00003E3A */
00003E28 206E 000A movea.l A0, [A6 + 0xA]
00003E2C 30BC FF94 move.w [A0], 0xFF94
00003E30 6008 bra +0xA /* 00003E3A */
label00003E32:
00003E32 206E 000A movea.l A0, [A6 + 0xA]
00003E36 30BC FF34 move.w [A0], 0xFF34
label00003E3A:
00003E3A 200B move.l D0, A3
00003E3C 265F movea.l A3, [A7]+
00003E3E 4E5E unlink A6
00003E40 4E75 rts
fn00003E42:
00003E42 4E56 FEE2 link A6, -0x011E
00003E46 48E7 0F08 movem.l -[A7], D4,D5,D6,D7,A4
00003E4A 2E2E 000A move.l D7, [A6 + 0xA]
00003E4E 7C00 moveq.l D6, 0x00
00003E50 302E 0008 move.w D0, [A6 + 0x8]
00003E54 6700 00F2 beq +0xF4 /* 00003F48 */
00003E58 6B00 0422 bmi +0x424 /* 0000427C */
00003E5C 0440 000C subi.w D0, 0xC
00003E60 6700 020A beq +0x20C /* 0000406C */
00003E64 6A38 bpl +0x3A /* 00003E9E */
00003E66 5C40 addq.w D0, 6
00003E68 6772 beq +0x74 /* 00003EDC */
00003E6A 6A1A bpl +0x1C /* 00003E86 */
00003E6C 5640 addq.w D0, 3
00003E6E 6700 01B0 beq +0x1B2 /* 00004020 */
00003E72 6A0A bpl +0xC /* 00003E7E */
00003E74 5240 addq.w D0, 1
00003E76 6A00 0172 bpl +0x174 /* 00003FEA */
00003E7A 6000 00C8 bra +0xCA /* 00003F44 */
label00003E7E:
00003E7E 5540 subq.w D0, 2
00003E80 6A62 bpl +0x64 /* 00003EE4 */
00003E82 6000 022C bra +0x22E /* 000040B0 */
label00003E86:
00003E86 5740 subq.w D0, 3
00003E88 6700 00A0 beq +0xA2 /* 00003F2A */
00003E8C 6A08 bpl +0xA /* 00003E96 */
00003E8E 5240 addq.w D0, 1
00003E90 6A5A bpl +0x5C /* 00003EEC */
00003E92 6000 03E8 bra +0x3EA /* 0000427C */
label00003E96:
00003E96 5540 subq.w D0, 2
00003E98 6A00 03E2 bpl +0x3E4 /* 0000427C */
00003E9C 6068 bra +0x6A /* 00003F06 */
label00003E9E:
00003E9E 0440 0059 subi.w D0, 0x59 /* 'Y' */
00003EA2 6700 0334 beq +0x336 /* 000041D8 */
00003EA6 6A20 bpl +0x22 /* 00003EC8 */
00003EA8 0440 FFAA subi.w D0, 0xFFAA
00003EAC 6700 0352 beq +0x354 /* 00004200 */
00003EB0 6A0A bpl +0xC /* 00003EBC */
00003EB2 5240 addq.w D0, 1
00003EB4 6A00 0296 bpl +0x298 /* 0000414C */
00003EB8 6000 024E bra +0x250 /* 00004108 */
label00003EBC:
00003EBC 0440 0055 subi.w D0, 0x55 /* 'U' */
00003EC0 6A00 02EC bpl +0x2EE /* 000041AE */
00003EC4 6000 03B6 bra +0x3B8 /* 0000427C */
label00003EC8:
00003EC8 5740 subq.w D0, 3
00003ECA 6700 02B8 beq +0x2BA /* 00004184 */
00003ECE 6A00 03AC bpl +0x3AE /* 0000427C */
00003ED2 5240 addq.w D0, 1
00003ED4 6A00 020C bpl +0x20E /* 000040E2 */
00003ED8 6000 027C bra +0x27E /* 00004156 */
label00003EDC:
00003EDC 1B47 FE93 move.b [A5 - 0x16D], D7
00003EE0 6000 039A bra +0x39C /* 0000427C */
label00003EE4:
00003EE4 1B47 FE92 move.b [A5 - 0x16E], D7
00003EE8 6000 0392 bra +0x394 /* 0000427C */
label00003EEC:
00003EEC 0C6D 0006 FDEC cmpi.w [A5 - 0x214], 0x6
00003EF2 6600 0388 bne +0x38A /* 0000427C */
00003EF6 42A7 clr.l -[A7]
00003EF8 42A7 clr.l -[A7]
00003EFA 206D FE82 movea.l A0, [A5 - 0x17E]
00003EFE 4E90 jsr [A0]
00003F00 508F addq.l A7, 8
00003F02 6000 0378 bra +0x37A /* 0000427C */
label00003F06:
00003F06 0C6D 0006 FDEC cmpi.w [A5 - 0x214], 0x6
00003F0C 6600 036E bne +0x370 /* 0000427C */
00003F10 4878 0006 push.l 0x6
00003F14 206D FE82 movea.l A0, [A5 - 0x17E]
00003F18 4E90 jsr [A0]
00003F1A 7008 moveq.l D0, 0x08
00003F1C 2E80 move.l [A7], D0
00003F1E 206D FE82 movea.l A0, [A5 - 0x17E]
00003F22 4E90 jsr [A0]
00003F24 588F addq.l A7, 4
00003F26 6000 0354 bra +0x356 /* 0000427C */
label00003F2A:
00003F2A 0C6D 0006 FDEC cmpi.w [A5 - 0x214], 0x6
00003F30 6600 034A bne +0x34C /* 0000427C */
00003F34 4878 0006 push.l 0x6
00003F38 206D FE82 movea.l A0, [A5 - 0x17E]
00003F3C 4E90 jsr [A0]
00003F3E 588F addq.l A7, 4
00003F40 6000 033A bra +0x33C /* 0000427C */
label00003F44:
00003F44 7801 moveq.l D4, 0x01
00003F46 6002 bra +0x4 /* 00003F4A */
label00003F48:
00003F48 7800 moveq.l D4, 0x00
label00003F4A:
00003F4A 4A2D FE88 tst.b [A5 - 0x178]
00003F4E 6600 032C bne +0x32E /* 0000427C */
00003F52 0C6D 0006 FDEC cmpi.w [A5 - 0x214], 0x6
00003F58 6700 0322 beq +0x324 /* 0000427C */
00003F5C 42A7 clr.l -[A7]
00003F5E 2F3C 534F 4E47 move.l -[A7], 0x534F4E47 /* 'SONG' */
00003F64 3F07 move.w -[A7], D7
00003F66 A9A0 syscall GetResource
00003F68 285F movea.l A4, [A7]+
00003F6A 200C move.l D0, A4
00003F6C 6772 beq +0x74 /* 00003FE0 */
00003F6E 2054 movea.l A0, [A4]
00003F70 3A10 move.w D5, [A0]
00003F72 42A7 clr.l -[A7]
00003F74 2F3C 4D49 4449 move.l -[A7], 0x4D494449 /* 'MIDI' */
00003F7A 3F05 move.w -[A7], D5
00003F7C A9A0 syscall GetResource
00003F7E 285F movea.l A4, [A7]+
00003F80 200C move.l D0, A4
00003F82 660E bne +0x10 /* 00003F92 */
00003F84 42A7 clr.l -[A7]
00003F86 2F3C 4D69 6469 move.l -[A7], 0x4D696469 /* 'Midi' */
00003F8C 3F05 move.w -[A7], D5
00003F8E A9A0 syscall GetResource
00003F90 285F movea.l A4, [A7]+
label00003F92:
00003F92 200C move.l D0, A4
00003F94 6740 beq +0x42 /* 00003FD6 */
00003F96 0C6D FFFF FE86 cmpi.w [A5 - 0x17A], 0xFFFF
00003F9C 670C beq +0xE /* 00003FAA */
00003F9E 42A7 clr.l -[A7]
00003FA0 3F3C 0002 move.w -[A7], 0x2
00003FA4 4EBA FE9C jsr [PC - 0x164 /* 00003E42 */]
00003FA8 5C8F addq.l A7, 6
label00003FAA:
00003FAA 7000 moveq.l D0, 0x00
00003FAC 1004 move.b D0, D4
00003FAE 2F00 move.l -[A7], D0
00003FB0 4878 000D push.l 0xD /* '\r' */
00003FB4 206D FE82 movea.l A0, [A5 - 0x17E]
00003FB8 4E90 jsr [A0]
00003FBA 2E87 move.l [A7], D7
00003FBC 42A7 clr.l -[A7]
00003FBE 206D FE82 movea.l A0, [A5 - 0x17E]
00003FC2 4E90 jsr [A0]
00003FC4 3B47 FE86 move.w [A5 - 0x17A], D7
00003FC8 2B78 016A FE8A move.l [A5 - 0x176], [0x0000016A /* Ticks */]
00003FCE 4FEF 000C lea.l A7, [A7 + 0xC]
00003FD2 6000 02A8 bra +0x2AA /* 0000427C */
label00003FD6:
00003FD6 2C3C FFFF FAEC move.l D6, 0xFFFFFAEC
00003FDC 6000 029E bra +0x2A0 /* 0000427C */
label00003FE0:
00003FE0 2C3C FFFF FF40 move.l D6, 0xFFFFFF40
00003FE6 6000 0294 bra +0x296 /* 0000427C */
label00003FEA:
00003FEA 4A2D FE88 tst.b [A5 - 0x178]
00003FEE 6600 028C bne +0x28E /* 0000427C */
00003FF2 0C6D 0006 FDEC cmpi.w [A5 - 0x214], 0x6
00003FF8 6700 0282 beq +0x284 /* 0000427C */
00003FFC 0C6D FFFF FE86 cmpi.w [A5 - 0x17A], 0xFFFF
00004002 6700 0278 beq +0x27A /* 0000427C */
00004006 4878 0005 push.l 0x5
0000400A 206D FE82 movea.l A0, [A5 - 0x17E]
0000400E 4E90 jsr [A0]
00004010 3B7C FFFF FE86 move.w [A5 - 0x17A], 0xFFFF
00004016 42AD FE8A clr.l [A5 - 0x176]
0000401A 588F addq.l A7, 4
0000401C 6000 025E bra +0x260 /* 0000427C */
label00004020:
00004020 0C6D FFFF FE86 cmpi.w [A5 - 0x17A], 0xFFFF
00004026 6704 beq +0x6 /* 0000402C */
00004028 7000 moveq.l D0, 0x00
0000402A 6002 bra +0x4 /* 0000402E */
label0000402C:
0000402C 7001 moveq.l D0, 0x01
label0000402E:
0000402E 48C0 ext.l D0
00004030 2C00 move.l D6, D0
00004032 4A2D FE88 tst.b [A5 - 0x178]
00004036 6600 0244 bne +0x246 /* 0000427C */
0000403A 0C6D 0006 FDEC cmpi.w [A5 - 0x214], 0x6
00004040 6700 023A beq +0x23C /* 0000427C */
00004044 0C6D FFFF FE86 cmpi.w [A5 - 0x17A], 0xFFFF
0000404A 6700 0230 beq +0x232 /* 0000427C */
0000404E 4878 0004 push.l 0x4
00004052 206D FE82 movea.l A0, [A5 - 0x17E]
00004056 4E90 jsr [A0]
00004058 4A40 tst.w D0
0000405A 588F addq.l A7, 4
0000405C 6704 beq +0x6 /* 00004062 */
0000405E 7000 moveq.l D0, 0x00
00004060 6002 bra +0x4 /* 00004064 */
label00004062:
00004062 7001 moveq.l D0, 0x01
label00004064:
00004064 48C0 ext.l D0
00004066 2C00 move.l D6, D0
00004068 6000 0212 bra +0x214 /* 0000427C */
label0000406C:
0000406C 7C00 moveq.l D6, 0x00
0000406E 4267 clr.w -[A7]
00004070 3F3C 0001 move.w -[A7], 0x1
00004074 486E FEE2 pea.l [A6 - 0x11E]
00004078 4EBA F6A8 jsr [PC - 0x958 /* 00003722 */]
0000407C 4A5F tst.w [A7]+
0000407E 6600 01FC bne +0x1FE /* 0000427C */
00004082 302E FEE8 move.w D0, [A6 - 0x118]
00004086 6B10 bmi +0x12 /* 00004098 */
00004088 5940 subq.w D0, 4
0000408A 6718 beq +0x1A /* 000040A4 */
0000408C 6A06 bpl +0x8 /* 00004094 */
0000408E 5240 addq.w D0, 1
00004090 6A0C bpl +0xE /* 0000409E */
00004092 6004 bra +0x6 /* 00004098 */
label00004094:
00004094 5540 subq.w D0, 2
00004096 6B12 bmi +0x14 /* 000040AA */
label00004098:
00004098 7C03 moveq.l D6, 0x03
0000409A 6000 01E0 bra +0x1E2 /* 0000427C */
label0000409E:
0000409E 7C06 moveq.l D6, 0x06
000040A0 6000 01DA bra +0x1DC /* 0000427C */
label000040A4:
000040A4 7C08 moveq.l D6, 0x08
000040A6 6000 01D4 bra +0x1D6 /* 0000427C */
label000040AA:
000040AA 7C10 moveq.l D6, 0x10
000040AC 6000 01CE bra +0x1D0 /* 0000427C */
label000040B0:
000040B0 7C00 moveq.l D6, 0x00
000040B2 4A2D FE88 tst.b [A5 - 0x178]
000040B6 6600 01C4 bne +0x1C6 /* 0000427C */
000040BA 0C6D 0006 FDEC cmpi.w [A5 - 0x214], 0x6
000040C0 6700 01BA beq +0x1BC /* 0000427C */
000040C4 0C6D FFFF FE86 cmpi.w [A5 - 0x17A], 0xFFFF
000040CA 6700 01B0 beq +0x1B2 /* 0000427C */
000040CE 2C38 016A move.l D6, [0x0000016A /* Ticks */]
000040D2 9CAD FE8A sub.l D6, [A5 - 0x176]
000040D6 4A86 tst.l D6
000040D8 6C00 01A2 bge +0x1A4 /* 0000427C */
000040DC 7C00 moveq.l D6, 0x00
000040DE 6000 019C bra +0x19E /* 0000427C */
label000040E2:
000040E2 4A2D FE88 tst.b [A5 - 0x178]
000040E6 6600 0194 bne +0x196 /* 0000427C */
000040EA 0C6D 0006 FDEC cmpi.w [A5 - 0x214], 0x6
000040F0 6700 018A beq +0x18C /* 0000427C */
000040F4 422D FE7C clr.b [A5 - 0x184]
000040F8 4878 0016 push.l 0x16
000040FC 206D FE82 movea.l A0, [A5 - 0x17E]
00004100 4E90 jsr [A0]
00004102 588F addq.l A7, 4
00004104 6000 0176 bra +0x178 /* 0000427C */
label00004108:
00004108 4A2D FE88 tst.b [A5 - 0x178]
0000410C 6600 016E bne +0x170 /* 0000427C */
00004110 0C6D 0006 FDEC cmpi.w [A5 - 0x214], 0x6
00004116 6700 0164 beq +0x166 /* 0000427C */
0000411A 1B7C 0001 FE7C move.b [A5 - 0x184], 0x1
00004120 422D FE94 clr.b [A5 - 0x16C]
00004124 3B7C 0100 FE96 move.w [A5 - 0x16A], 0x100
0000412A 203C 0000 0400 move.l D0, 0x400
00004130 81C7 divs.w D0, D7
00004132 3B40 FE98 move.w [A5 - 0x168], D0
00004136 4878 0004 push.l 0x4
0000413A 2F07 move.l -[A7], D7
0000413C 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
00004140 3B40 FE9A move.w [A5 - 0x166], D0
00004144 3B40 FE9C move.w [A5 - 0x164], D0
00004148 6000 0132 bra +0x134 /* 0000427C */
label0000414C:
0000414C 3C2D FE96 move.w D6, [A5 - 0x16A]
00004150 48C6 ext.l D6
00004152 6000 0128 bra +0x12A /* 0000427C */
label00004156:
00004156 4A87 tst.l D7
00004158 6700 0122 beq +0x124 /* 0000427C */
0000415C 4A2D FE88 tst.b [A5 - 0x178]
00004160 6600 011A bne +0x11C /* 0000427C */
00004164 0C6D 0006 FDEC cmpi.w [A5 - 0x214], 0x6
0000416A 6700 0110 beq +0x112 /* 0000427C */
0000416E 2F07 move.l -[A7], D7
00004170 4878 0014 push.l 0x14
00004174 206D FE82 movea.l A0, [A5 - 0x17E]
00004178 4E90 jsr [A0]
0000417A 48C0 ext.l D0
0000417C 2C00 move.l D6, D0
0000417E 508F addq.l A7, 8
00004180 6000 00FA bra +0xFC /* 0000427C */
label00004184:
00004184 4A87 tst.l D7
00004186 6700 00F4 beq +0xF6 /* 0000427C */
0000418A 4A2D FE88 tst.b [A5 - 0x178]
0000418E 6600 00EC bne +0xEE /* 0000427C */
00004192 0C6D 0006 FDEC cmpi.w [A5 - 0x214], 0x6
00004198 6700 00E2 beq +0xE4 /* 0000427C */
0000419C 2F07 move.l -[A7], D7
0000419E 4878 0017 push.l 0x17
000041A2 206D FE82 movea.l A0, [A5 - 0x17E]
000041A6 4E90 jsr [A0]
000041A8 508F addq.l A7, 8
000041AA 6000 00D0 bra +0xD2 /* 0000427C */
label000041AE:
000041AE 4A87 tst.l D7
000041B0 6700 00CA beq +0xCC /* 0000427C */
000041B4 4A2D FE88 tst.b [A5 - 0x178]
000041B8 6600 00C2 bne +0xC4 /* 0000427C */
000041BC 0C6D 0006 FDEC cmpi.w [A5 - 0x214], 0x6
000041C2 6700 00B8 beq +0xBA /* 0000427C */
000041C6 2F07 move.l -[A7], D7
000041C8 4878 0011 push.l 0x11
000041CC 206D FE82 movea.l A0, [A5 - 0x17E]
000041D0 4E90 jsr [A0]
000041D2 508F addq.l A7, 8
000041D4 6000 00A6 bra +0xA8 /* 0000427C */
label000041D8:
000041D8 4A87 tst.l D7
000041DA 6700 00A0 beq +0xA2 /* 0000427C */
000041DE 4A2D FE88 tst.b [A5 - 0x178]
000041E2 6600 0098 bne +0x9A /* 0000427C */
000041E6 0C6D 0006 FDEC cmpi.w [A5 - 0x214], 0x6
000041EC 6700 008E beq +0x90 /* 0000427C */
000041F0 2F07 move.l -[A7], D7
000041F2 4878 0012 push.l 0x12
000041F6 206D FE82 movea.l A0, [A5 - 0x17E]
000041FA 4E90 jsr [A0]
000041FC 508F addq.l A7, 8
000041FE 607C bra +0x7E /* 0000427C */
label00004200:
00004200 4A2D FE88 tst.b [A5 - 0x178]
00004204 6676 bne +0x78 /* 0000427C */
00004206 0C6D 0006 FDEC cmpi.w [A5 - 0x214], 0x6
0000420C 676E beq +0x70 /* 0000427C */
0000420E 2007 move.l D0, D7
00004210 7206 moveq.l D1, 0x06
00004212 B081 cmp.l D0, D1
00004214 620C bhi +0xE /* 00004222 */
00004216 43FA 006E lea.l A1, [PC + 0x6E /* 00004286, value 0xFF9CFFA0 */]
0000421A D040 add.w D0, D0
0000421C D2F1 0000 add.w A1, [A1 + D0.w]
00004220 4ED1 jmp [A1]
label00004222:
00004222 7CCE moveq.l D6, 0xFFFFFFCE
00004224 6056 bra +0x58 /* 0000427C */
00004226 42A7 clr.l -[A7]
00004228 4878 0018 push.l 0x18
0000422C 206D FE82 movea.l A0, [A5 - 0x17E]
00004230 4E90 jsr [A0]
00004232 508F addq.l A7, 8
00004234 6046 bra +0x48 /* 0000427C */
00004236 4878 010B push.l 0x10B
0000423A 4878 0018 push.l 0x18
0000423E 206D FE82 movea.l A0, [A5 - 0x17E]
00004242 4E90 jsr [A0]
00004244 508F addq.l A7, 8
00004246 6034 bra +0x36 /* 0000427C */
00004248 4878 0116 push.l 0x116
0000424C 4878 0018 push.l 0x18
00004250 206D FE82 movea.l A0, [A5 - 0x17E]
00004254 4E90 jsr [A0]
00004256 508F addq.l A7, 8
00004258 6022 bra +0x24 /* 0000427C */
0000425A 4878 0016 push.l 0x16
0000425E 4878 0018 push.l 0x18
00004262 206D FE82 movea.l A0, [A5 - 0x17E]
00004266 4E90 jsr [A0]
00004268 508F addq.l A7, 8
0000426A 6010 bra +0x12 /* 0000427C */
0000426C 4878 000B push.l 0xB
00004270 4878 0018 push.l 0x18
00004274 206D FE82 movea.l A0, [A5 - 0x17E]
00004278 4E90 jsr [A0]
0000427A 508F addq.l A7, 8
label0000427C:
0000427C 2006 move.l D0, D6
0000427E 4CDF 10F0 movem.l D4,D5,D6,D7,A4, [A7]+
00004282 4E5E unlink A6
00004284 4E75 rts
00004286 FF9C .invalid <<F/6/7>>
00004288 FFA0 .invalid <<F/6/7>>
0000428A FFE6 .invalid <<F/7/7>>
0000428C FFD4 .invalid <<F/7/7>>
0000428E FFB0 .invalid <<F/6/7>>
00004290 FFC2 .invalid <<F/7/7>>
00004292 FF9C .invalid <<F/6/7>>
00004294 4E56 FFFA link A6, -0x0006
00004298 3D6E 0008 FFFA move.w [A6 - 0x6], [A6 + 0x8]
0000429E 3D6E 000A FFFC move.w [A6 - 0x4], [A6 + 0xA]
000042A4 3D6E 000C FFFE move.w [A6 - 0x2], [A6 + 0xC]
000042AA 486E FFFA pea.l [A6 - 0x6]
000042AE 4878 0015 push.l 0x15
000042B2 206D FE82 movea.l A0, [A5 - 0x17E]
000042B6 4E90 jsr [A0]
000042B8 7000 moveq.l D0, 0x00
000042BA 4E5E unlink A6
000042BC 4E75 rts
fn000042BE:
000042BE 4E56 FFE8 link A6, -0x0018
000042C2 48E7 0700 movem.l -[A7], D5,D6,D7
000042C6 4267 clr.w -[A7]
000042C8 3F3C 0001 move.w -[A7], 0x1
000042CC 486E FFEE pea.l [A6 - 0x12]
000042D0 4EBA F450 jsr [PC - 0xBB0 /* 00003722 */]
000042D4 3E1F move.w D7, [A7]+
000042D6 4EBA F9B4 jsr [PC - 0x64C /* 00003C8C */]
000042DA 3C00 move.w D6, D0
000042DC 4A47 tst.w D7
000042DE 670E beq +0x10 /* 000042EE */
000042E0 0C6E 0600 FFF2 cmpi.w [A6 - 0xE], 0x600
000042E6 6C06 bge +0x8 /* 000042EE */
000042E8 4A46 tst.w D6
000042EA 6602 bne +0x4 /* 000042EE */
000042EC 7E66 moveq.l D7, 0x66
label000042EE:
000042EE 422D FE7C clr.b [A5 - 0x184]
000042F2 4A47 tst.w D7
000042F4 6600 0102 bne +0x104 /* 000043F8 */
000042F8 7C0B moveq.l D6, 0x0B
000042FA 302E 000E move.w D0, [A6 + 0xE]
000042FE 0C40 0006 cmpi.w D0, 0x6
00004302 6252 bhi +0x54 /* 00004356 */
00004304 43FA 00FC lea.l A1, [PC + 0xFC /* 00004402, value 0xFF54FF2E */]
00004308 D040 add.w D0, D0
0000430A D2F1 0000 add.w A1, [A1 + D0.w]
0000430E 4ED1 jmp [A1]
00004310 7C21 moveq.l D6, 0x21
00004312 3B7C 0006 FDEC move.w [A5 - 0x214], 0x6
00004318 7A0B moveq.l D5, 0x0B
0000431A 6042 bra +0x44 /* 0000435E */
0000431C 3B7C 0003 FDEC move.w [A5 - 0x214], 0x3
00004322 7A16 moveq.l D5, 0x16
00004324 6038 bra +0x3A /* 0000435E */
00004326 3B7C 0002 FDEC move.w [A5 - 0x214], 0x2
0000432C 7A0B moveq.l D5, 0x0B
0000432E 602E bra +0x30 /* 0000435E */
00004330 3B7C 0001 FDEC move.w [A5 - 0x214], 0x1
00004336 7A00 moveq.l D5, 0x00
00004338 6024 bra +0x26 /* 0000435E */
0000433A 3B7C 0004 FDEC move.w [A5 - 0x214], 0x4
00004340 2A3C 0000 010B move.l D5, 0x10B
00004346 6016 bra +0x18 /* 0000435E */
00004348 3B7C 0005 FDEC move.w [A5 - 0x214], 0x5
0000434E 2A3C 0000 0116 move.l D5, 0x116
00004354 6008 bra +0xA /* 0000435E */
label00004356:
00004356 7CFF moveq.l D6, 0xFFFFFFFF
00004358 426D FDEC clr.w [A5 - 0x214]
0000435C 7AFF moveq.l D5, 0xFFFFFFFF
label0000435E:
0000435E 0C46 FFFF cmpi.w D6, 0xFFFF
00004362 6606 bne +0x8 /* 0000436A */
00004364 7ECE moveq.l D7, 0xFFFFFFCE
00004366 6000 0090 bra +0x92 /* 000043F8 */
label0000436A:
0000436A 486E FFFE pea.l [A6 - 0x2]
0000436E 3F06 move.w -[A7], D6
00004370 4EBA FA64 jsr [PC - 0x59C /* 00003DD6 */]
00004374 2B40 FE7E move.l [A5 - 0x182], D0
00004378 3E2E FFFE move.w D7, [A6 - 0x2]
0000437C 4A80 tst.l D0
0000437E 5C8F addq.l A7, 6
00004380 6776 beq +0x78 /* 000043F8 */
00004382 206D FE7E movea.l A0, [A5 - 0x182]
00004386 A064 syscall MoveHHi
00004388 206D FE7E movea.l A0, [A5 - 0x182]
0000438C A04A syscall HNoPurge
0000438E 206D FE7E movea.l A0, [A5 - 0x182]
00004392 A029 syscall HLock
00004394 206D FE7E movea.l A0, [A5 - 0x182]
00004398 2B50 FE82 move.l [A5 - 0x17E], [A0]
0000439C 3B7C FFFF FE86 move.w [A5 - 0x17A], 0xFFFF
000043A2 42AD FE8A clr.l [A5 - 0x176]
000043A6 422D FE88 clr.b [A5 - 0x178]
000043AA 422D FE89 clr.b [A5 - 0x177]
000043AE 3F2E 000C move.w -[A7], [A6 + 0xC]
000043B2 4EBA 0C34 jsr [PC + 0xC34 /* 00004FE8 */]
000043B6 3E00 move.w D7, D0
000043B8 4A47 tst.w D7
000043BA 548F addq.l A7, 2
000043BC 663A bne +0x3C /* 000043F8 */
000043BE 3D6E 0008 FFE8 move.w [A6 - 0x18], [A6 + 0x8]
000043C4 3D6E 000A FFEA move.w [A6 - 0x16], [A6 + 0xA]
000043CA 3D6E 000C FFEC move.w [A6 - 0x14], [A6 + 0xC]
000043D0 486E FFE8 pea.l [A6 - 0x18]
000043D4 4878 0015 push.l 0x15
000043D8 206D FE82 movea.l A0, [A5 - 0x17E]
000043DC 4E90 jsr [A0]
000043DE 2E85 move.l [A7], D5
000043E0 4878 0018 push.l 0x18
000043E4 206D FE82 movea.l A0, [A5 - 0x17E]
000043E8 4E90 jsr [A0]
000043EA 1B7C 0001 FE92 move.b [A5 - 0x16E], 0x1
000043F0 422D FE93 clr.b [A5 - 0x16D]
000043F4 4FEF 000C lea.l A7, [A7 + 0xC]
label000043F8:
000043F8 3007 move.w D0, D7
000043FA 4CDF 00E0 movem.l D5,D6,D7, [A7]+
000043FE 4E5E unlink A6
00004400 4E75 rts
00004402 FF54 .extension 0xF54 <<F/4-5/7>> // unimplemented
00004404 FF2E .extension 0xF2E <<F/4-5/7>> // unimplemented
00004406 FF24 .extension 0xF24 <<F/4-5/7>> // unimplemented
00004408 FF1A .extension 0xF1A <<F/4-5/7>> // unimplemented
0000440A FF38 .extension 0xF38 <<F/4-5/7>> // unimplemented
0000440C FF46 .extension 0xF46 <<F/4-5/7>> // unimplemented
0000440E FF0E .extension 0xF0E <<F/4-5/7>> // unimplemented
fn00004410:
00004410 4E56 FEF4 link A6, -0x010C
00004414 4AAD FE82 tst.l [A5 - 0x17E]
00004418 673E beq +0x40 /* 00004458 */
0000441A 4EBA 0CA2 jsr [PC + 0xCA2 /* 000050BE */]
0000441E 422D FE88 clr.b [A5 - 0x178]
00004422 42A7 clr.l -[A7]
00004424 3F3C 0002 move.w -[A7], 0x2
00004428 4EBA FA18 jsr [PC - 0x5E8 /* 00003E42 */]
0000442C 7008 moveq.l D0, 0x08
0000442E 2E80 move.l [A7], D0
00004430 206D FE82 movea.l A0, [A5 - 0x17E]
00004434 4E90 jsr [A0]
00004436 206D FE7E movea.l A0, [A5 - 0x182]
0000443A A02A syscall HUnlock
0000443C 206D FE7E movea.l A0, [A5 - 0x182]
00004440 A023 syscall DisposHandle/DisposeHandle
00004442 42AD FE7E clr.l [A5 - 0x182]
00004446 203C 0080 0000 move.l D0, 0x800000
0000444C A04D syscall PurgeMem
0000444E 203C 0080 0000 move.l D0, 0x800000
00004454 A04C syscall CompactMem
00004456 5C8F addq.l A7, 6
label00004458:
00004458 4E5E unlink A6
0000445A 4E75 rts
fn0000445C:
0000445C 4EBA 0CB8 jsr [PC + 0xCB8 /* 00005116 */]
00004460 4A2D FE88 tst.b [A5 - 0x178]
00004464 6620 bne +0x22 /* 00004486 */
00004466 0C6D 0006 FDEC cmpi.w [A5 - 0x214], 0x6
0000446C 6718 beq +0x1A /* 00004486 */
0000446E 4878 000A push.l 0xA /* '\n' */
00004472 206D FE82 movea.l A0, [A5 - 0x17E]
00004476 4E90 jsr [A0]
00004478 1B7C 0001 FE88 move.b [A5 - 0x178], 0x1
0000447E 2B78 016A FE8E move.l [A5 - 0x172], [0x0000016A /* Ticks */]
00004484 588F addq.l A7, 4
label00004486:
00004486 4E75 rts
fn00004488:
00004488 4EBA 0CD8 jsr [PC + 0xCD8 /* 00005162 */]
0000448C 4A2D FE88 tst.b [A5 - 0x178]
00004490 6724 beq +0x26 /* 000044B6 */
00004492 0C6D 0006 FDEC cmpi.w [A5 - 0x214], 0x6
00004498 671C beq +0x1E /* 000044B6 */
0000449A 4878 000B push.l 0xB
0000449E 206D FE82 movea.l A0, [A5 - 0x17E]
000044A2 4E90 jsr [A0]
000044A4 422D FE88 clr.b [A5 - 0x178]
000044A8 2038 016A move.l D0, [0x0000016A /* Ticks */]
000044AC 90AD FE8E sub.l D0, [A5 - 0x172]
000044B0 D1AD FE8A add.l [A5 - 0x176], D0
000044B4 588F addq.l A7, 4
label000044B6:
000044B6 4E75 rts
fn000044B8:
000044B8 4E56 0000 link A6, 0
000044BC 536D FE9C subq.w [A5 - 0x164], 1
000044C0 4A2D FE94 tst.b [A5 - 0x16C]
000044C4 6660 bne +0x62 /* 00004526 */
000044C6 4A6D FE9C tst.w [A5 - 0x164]
000044CA 6C72 bge +0x74 /* 0000453E */
000044CC 3B6D FE9A FE9C move.w [A5 - 0x164], [A5 - 0x166]
000044D2 4A6D FE96 tst.w [A5 - 0x16A]
000044D6 6C2C bge +0x2E /* 00004504 */
000044D8 1B7C 0001 FE94 move.b [A5 - 0x16C], 0x1
000044DE 42A7 clr.l -[A7]
000044E0 3F3C 0002 move.w -[A7], 0x2
000044E4 4EBA F95C jsr [PC - 0x6A4 /* 00003E42 */]
000044E8 7006 moveq.l D0, 0x06
000044EA 2E80 move.l [A7], D0
000044EC 206D FE82 movea.l A0, [A5 - 0x17E]
000044F0 4E90 jsr [A0]
000044F2 4297 clr.l [A7]
000044F4 4878 0013 push.l 0x13
000044F8 206D FE82 movea.l A0, [A5 - 0x17E]
000044FC 4E90 jsr [A0]
000044FE 4FEF 000A lea.l A7, [A7 + 0xA]
00004502 603A bra +0x3C /* 0000453E */
label00004504:
00004504 302D FE98 move.w D0, [A5 - 0x168]
00004508 916D FE96 sub.w [A5 - 0x16A], D0
0000450C 4A6D FE96 tst.w [A5 - 0x16A]
00004510 6D2C blt +0x2E /* 0000453E */
00004512 306D FE96 movea.w A0, [A5 - 0x16A]
00004516 2F08 move.l -[A7], A0
00004518 4878 0013 push.l 0x13
0000451C 206D FE82 movea.l A0, [A5 - 0x17E]
00004520 4E90 jsr [A0]
00004522 508F addq.l A7, 8
00004524 6018 bra +0x1A /* 0000453E */
label00004526:
00004526 422D FE7C clr.b [A5 - 0x184]
0000452A 4878 0100 push.l 0x100
0000452E 4878 0013 push.l 0x13
00004532 206D FE82 movea.l A0, [A5 - 0x17E]
00004536 4E90 jsr [A0]
00004538 4EBA 10F2 jsr [PC + 0x10F2 /* 0000562C */]
0000453C 508F addq.l A7, 8
label0000453E:
0000453E 4E5E unlink A6
00004540 4E75 rts
fn00004542:
00004542 4E56 0000 link A6, 0
00004546 2F2E 0010 move.l -[A7], [A6 + 0x10]
0000454A 2F2E 000C move.l -[A7], [A6 + 0xC]
0000454E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00004552 4EBA 0126 jsr [PC + 0x126 /* 0000467A */]
00004556 206E 0014 movea.l A0, [A6 + 0x14]
0000455A 2080 move.l [A0], D0
0000455C 4E5E unlink A6
0000455E 4E75 rts
fn00004560:
00004560 4E56 0000 link A6, 0
00004564 206E 0014 movea.l A0, [A6 + 0x14]
00004568 2F10 move.l -[A7], [A0]
0000456A 2F2E 0010 move.l -[A7], [A6 + 0x10]
0000456E 2F2E 000C move.l -[A7], [A6 + 0xC]
00004572 2F2E 0008 move.l -[A7], [A6 + 0x8]
00004576 4EBA 01C4 jsr [PC + 0x1C4 /* 0000473C */]
0000457A 4E5E unlink A6
0000457C 4E75 rts
0000457E 4E56 FFF8 link A6, -0x0008
00004582 2F2E 000C move.l -[A7], [A6 + 0xC]
00004586 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000458A 4EBA 021C jsr [PC + 0x21C /* 000047A8 */]
0000458E 2EAE 0010 move.l [A7], [A6 + 0x10]
00004592 2F2E 000C move.l -[A7], [A6 + 0xC]
00004596 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000459A 4EBA 00DE jsr [PC + 0xDE /* 0000467A */]
0000459E 206E 0014 movea.l A0, [A6 + 0x14]
000045A2 2080 move.l [A0], D0
000045A4 2EAE 000C move.l [A7], [A6 + 0xC]
000045A8 2F2E 0008 move.l -[A7], [A6 + 0x8]
000045AC 4EBA 0218 jsr [PC + 0x218 /* 000047C6 */]
000045B0 4E5E unlink A6
000045B2 4E75 rts
fn000045B4:
000045B4 4E56 0000 link A6, 0
000045B8 206E 0014 movea.l A0, [A6 + 0x14]
000045BC 2F10 move.l -[A7], [A0]
000045BE 2F2E 0010 move.l -[A7], [A6 + 0x10]
000045C2 2F2E 000C move.l -[A7], [A6 + 0xC]
000045C6 2F2E 0008 move.l -[A7], [A6 + 0x8]
000045CA 4EBA 0170 jsr [PC + 0x170 /* 0000473C */]
000045CE 206E 0014 movea.l A0, [A6 + 0x14]
000045D2 2E90 move.l [A7], [A0]
000045D4 2F2E 0010 move.l -[A7], [A6 + 0x10]
000045D8 4EBA 01EC jsr [PC + 0x1EC /* 000047C6 */]
000045DC 4E5E unlink A6
000045DE 4E75 rts
fn000045E0:
000045E0 4E56 0000 link A6, 0
000045E4 48E7 3E30 movem.l -[A7], D2,D3,D4,D5,D6,A2,A3
000045E8 7800 moveq.l D4, 0x00
000045EA 203C 0000 1000 move.l D0, 0x1000
000045F0 222E 0010 move.l D1, [A6 + 0x10]
000045F4 B280 cmp.l D1, D0
000045F6 6C04 bge +0x6 /* 000045FC */
000045F8 2401 move.l D2, D1
000045FA 6002 bra +0x4 /* 000045FE */
label000045FC:
000045FC 2400 move.l D2, D0
label000045FE:
000045FE 7612 moveq.l D3, 0x12
00004600 202E 000C move.l D0, [A6 + 0xC]
00004604 9081 sub.l D0, D1
00004606 B082 cmp.l D0, D2
00004608 6D02 blt +0x4 /* 0000460C */
0000460A 2002 move.l D0, D2
label0000460C:
0000460C B083 cmp.l D0, D3
0000460E 6C02 bge +0x4 /* 00004612 */
00004610 2600 move.l D3, D0
label00004612:
00004612 206E 0008 movea.l A0, [A6 + 0x8]
00004616 2648 movea.l A3, A0
00004618 D7C1 add.l A3, D1
0000461A 244B movea.l A2, A3
0000461C 95C2 sub.l A2, D2
0000461E 7C00 moveq.l D6, 0x00
00004620 1C13 move.b D6, [A3]
label00004622:
00004622 4A42 tst.w D2
00004624 6F28 ble +0x2A /* 0000464E */
00004626 BC1A cmp.b D6, [A2]+
00004628 6704 beq +0x6 /* 0000462E */
0000462A 5342 subq.w D2, 1
0000462C 60F4 bra -0xA /* 00004622 */
label0000462E:
0000462E 7001 moveq.l D0, 0x01
00004630 43EB 0001 lea.l A1, [A3 + 0x1]
label00004634:
00004634 B043 cmp.w D0, D3
00004636 6C08 bge +0xA /* 00004640 */
00004638 B30A cmpm.b [A1]+, [A2]+
0000463A 6604 bne +0x6 /* 00004640 */
0000463C 5240 addq.w D0, 1
0000463E 60F4 bra -0xA /* 00004634 */
label00004640:
00004640 B044 cmp.w D0, D4
00004642 6F04 ble +0x6 /* 00004648 */
00004644 3A02 move.w D5, D2
00004646 3800 move.w D4, D0
label00004648:
00004648 534A subq.w A2, 1
0000464A 9440 sub.w D2, D0
0000464C 60D4 bra -0x2A /* 00004622 */
label0000464E:
0000464E 0C44 0003 cmpi.w D4, 0x3
00004652 6D1C blt +0x1E /* 00004670 */
00004654 203C 0000 1000 move.l D0, 0x1000
0000465A 9045 sub.w D0, D5
0000465C 3204 move.w D1, D4
0000465E 5741 subq.w D1, 3
00004660 E149 lsl D1.w, 8
00004662 E949 lsl D1.w, 4
00004664 8041 or.w D0, D1
00004666 206E 0014 movea.l A0, [A6 + 0x14]
0000466A 3080 move.w [A0], D0
0000466C 3004 move.w D0, D4
0000466E 6002 bra +0x4 /* 00004672 */
label00004670:
00004670 7000 moveq.l D0, 0x00
label00004672:
00004672 4CDF 0C7C movem.l D2,D3,D4,D5,D6,A2,A3, [A7]+
00004676 4E5E unlink A6
00004678 4E75 rts
fn0000467A:
0000467A 4E56 FFE8 link A6, -0x0018
0000467E 48E7 1F18 movem.l -[A7], D3,D4,D5,D6,D7,A3,A4
00004682 286E 0008 movea.l A4, [A6 + 0x8]
00004686 7E00 moveq.l D7, 0x00
00004688 266E 0010 movea.l A3, [A6 + 0x10]
0000468C 7C00 moveq.l D6, 0x00
0000468E 6000 0090 bra +0x92 /* 00004720 */
label00004692:
00004692 7A00 moveq.l D5, 0x00
00004694 7800 moveq.l D4, 0x00
00004696 7600 moveq.l D3, 0x00
00004698 605C bra +0x5E /* 000046F6 */
label0000469A:
0000469A 486E FFFE pea.l [A6 - 0x2]
0000469E 2F07 move.l -[A7], D7
000046A0 2F2E 000C move.l -[A7], [A6 + 0xC]
000046A4 2F2E 0008 move.l -[A7], [A6 + 0x8]
000046A8 4EBA FF36 jsr [PC - 0xCA /* 000045E0 */]
000046AC 3D40 FFE8 move.w [A6 - 0x18], D0
000046B0 4A40 tst.w D0
000046B2 4FEF 0010 lea.l A7, [A7 + 0x10]
000046B6 6724 beq +0x26 /* 000046DC */
000046B8 302E FFFE move.w D0, [A6 - 0x2]
000046BC E040 asr D0.w, 8
000046BE 3204 move.w D1, D4
000046C0 5244 addq.w D4, 1
000046C2 1D80 10EE move.b [A6 + D1.w - 0x18], D0
000046C6 70FF moveq.l D0, 0xFFFFFFFF
000046C8 C02E FFFF and.b D0, [A6 - 0x1]
000046CC 3204 move.w D1, D4
000046CE 5244 addq.w D4, 1
000046D0 1D80 10EE move.b [A6 + D1.w - 0x18], D0
000046D4 306E FFE8 movea.w A0, [A6 - 0x18]
000046D8 DE88 add.l D7, A0
000046DA 6012 bra +0x14 /* 000046EE */
label000046DC:
000046DC 3004 move.w D0, D4
000046DE 5244 addq.w D4, 1
000046E0 1DB4 7800 00EE move.b [A6 + D0.w - 0x18], [A4 + D7]
000046E6 7001 moveq.l D0, 0x01
000046E8 E728 lsl D0.b, D3
000046EA 8A00 or.b D5, D0
000046EC 5287 addq.l D7, 1
label000046EE:
000046EE BEAE 000C cmp.l D7, [A6 + 0xC]
000046F2 6C08 bge +0xA /* 000046FC */
000046F4 5243 addq.w D3, 1
label000046F6:
000046F6 0C43 0008 cmpi.w D3, 0x8
000046FA 6D9E blt -0x60 /* 0000469A */
label000046FC:
000046FC BCAE 000C cmp.l D6, [A6 + 0xC]
00004700 6C04 bge +0x6 /* 00004706 */
00004702 1785 6800 move.b [A3 + D6], D5
label00004706:
00004706 5286 addq.l D6, 1
00004708 7600 moveq.l D3, 0x00
0000470A 6010 bra +0x12 /* 0000471C */
label0000470C:
0000470C BCAE 000C cmp.l D6, [A6 + 0xC]
00004710 6C06 bge +0x8 /* 00004718 */
00004712 17B6 30EE 6800 move.b [A3 + D6], [A6 + D3.w - 0x18]
label00004718:
00004718 5286 addq.l D6, 1
0000471A 5243 addq.w D3, 1
label0000471C:
0000471C B843 cmp.w D4, D3
0000471E 6EEC bgt -0x12 /* 0000470C */
label00004720:
00004720 BEAE 000C cmp.l D7, [A6 + 0xC]
00004724 6D00 FF6C blt -0x92 /* 00004692 */
00004728 BCAE 000C cmp.l D6, [A6 + 0xC]
0000472C 6D04 blt +0x6 /* 00004732 */
0000472E 70FF moveq.l D0, 0xFFFFFFFF
00004730 6002 bra +0x4 /* 00004734 */
label00004732:
00004732 2006 move.l D0, D6
label00004734:
00004734 4CDF 18F8 movem.l D3,D4,D5,D6,D7,A3,A4, [A7]+
00004738 4E5E unlink A6
0000473A 4E75 rts
fn0000473C:
0000473C 4E56 0000 link A6, 0
00004740 48E7 3F30 movem.l -[A7], D2,D3,D4,D5,D6,D7,A2,A3
00004744 246E 0008 movea.l A2, [A6 + 0x8]
00004748 2C2E 000C move.l D6, [A6 + 0xC]
0000474C 266E 0010 movea.l A3, [A6 + 0x10]
00004750 2E2E 0014 move.l D7, [A6 + 0x14]
label00004754:
00004754 5386 subq.l D6, 1
00004756 6B48 bmi +0x4A /* 000047A0 */
00004758 161A move.b D3, [A2]+
0000475A 7407 moveq.l D2, 0x07
label0000475C:
0000475C E20B lsr D3.b, 1
0000475E 6410 bcc +0x12 /* 00004770 */
00004760 5386 subq.l D6, 1
00004762 6B3C bmi +0x3E /* 000047A0 */
00004764 5387 subq.l D7, 1
00004766 6B38 bmi +0x3A /* 000047A0 */
00004768 16DA move.b [A3]+, [A2]+
0000476A 51CA FFF0 dbf D2, -0x12 /* 0000475C */
0000476E 60E4 bra -0x1A /* 00004754 */
label00004770:
00004770 5586 subq.l D6, 2
00004772 6B2C bmi +0x2E /* 000047A0 */
00004774 101A move.b D0, [A2]+
00004776 E148 lsl D0.w, 8
00004778 101A move.b D0, [A2]+
0000477A 3A00 move.w D5, D0
0000477C 0245 0FFF andi.w D5, 0xFFF
00004780 780F moveq.l D4, 0x0F
00004782 E958 rol D0.w, 4
00004784 C840 and.w D4, D0
00004786 5444 addq.w D4, 2
00004788 204B movea.l A0, A3
0000478A 90FC 1000 sub.w A0, 0x1000
0000478E D0C5 add.w A0, D5
label00004790:
00004790 5387 subq.l D7, 1
00004792 6B0C bmi +0xE /* 000047A0 */
00004794 16D8 move.b [A3]+, [A0]+
00004796 51CC FFF8 dbf D4, -0xA /* 00004790 */
0000479A 51CA FFC0 dbf D2, -0x42 /* 0000475C */
0000479E 60B4 bra -0x4A /* 00004754 */
label000047A0:
000047A0 4CDF 0CFC movem.l D2,D3,D4,D5,D6,D7,A2,A3, [A7]+
000047A4 4E5E unlink A6
000047A6 4E75 rts
fn000047A8:
000047A8 4E56 0000 link A6, 0
000047AC 206E 0008 movea.l A0, [A6 + 0x8]
000047B0 202E 000C move.l D0, [A6 + 0xC]
000047B4 1218 move.b D1, [A0]+
000047B6 6006 bra +0x8 /* 000047BE */
label000047B8:
000047B8 1410 move.b D2, [A0]
000047BA 9318 sub.b [A0]+, D1
000047BC 1202 move.b D1, D2
label000047BE:
000047BE 5380 subq.l D0, 1
000047C0 66F6 bne -0x8 /* 000047B8 */
000047C2 4E5E unlink A6
000047C4 4E75 rts
fn000047C6:
000047C6 4E56 0000 link A6, 0
000047CA 206E 0008 movea.l A0, [A6 + 0x8]
000047CE 202E 000C move.l D0, [A6 + 0xC]
000047D2 1218 move.b D1, [A0]+
000047D4 6004 bra +0x6 /* 000047DA */
label000047D6:
000047D6 D210 add.b D1, [A0]
000047D8 10C1 move.b [A0]+, D1
label000047DA:
000047DA 5380 subq.l D0, 1
000047DC 66F8 bne -0x6 /* 000047D6 */
000047DE 4E5E unlink A6
000047E0 4E75 rts
000047E2 4E56 FFF8 link A6, -0x0008
000047E6 48E7 0038 movem.l -[A7], A2,A3,A4
000047EA 286E 0008 movea.l A4, [A6 + 0x8]
000047EE 200C move.l D0, A4
000047F0 6700 0086 beq +0x88 /* 00004878 */
000047F4 42A7 clr.l -[A7]
000047F6 2F0C move.l -[A7], A4
000047F8 4EBA F2A0 jsr [PC - 0xD60 /* 00003A9A */]
000047FC 2D5F FFFC move.l [A6 - 0x4], [A7]+
00004800 7004 moveq.l D0, 0x04
00004802 D0AE FFFC add.l D0, [A6 - 0x4]
00004806 A122 syscall NewHandle, flags=1
00004808 2648 movea.l A3, A0
0000480A 200B move.l D0, A3
0000480C 676A beq +0x6C /* 00004878 */
0000480E 204B movea.l A0, A3
00004810 A029 syscall HLock
00004812 204C movea.l A0, A4
00004814 A029 syscall HLock
00004816 2453 movea.l A2, [A3]
00004818 588A addq.l A2, 4
0000481A 486E FFF8 pea.l [A6 - 0x8]
0000481E 2F0A move.l -[A7], A2
00004820 2F2E FFFC move.l -[A7], [A6 - 0x4]
00004824 2F14 move.l -[A7], [A4]
00004826 4EBA FD1A jsr [PC - 0x2E6 /* 00004542 */]
0000482A 41EE FFFC lea.l A0, [A6 - 0x4]
0000482E 7004 moveq.l D0, 0x04
00004830 2253 movea.l A1, [A3]
00004832 A02E syscall BlockMove/BlockMoveData
00004834 204C movea.l A0, A4
00004836 A02A syscall HUnlock
00004838 204C movea.l A0, A4
0000483A A023 syscall DisposHandle/DisposeHandle
0000483C 99CC sub.l A4, A4
0000483E 7001 moveq.l D0, 0x01
00004840 B0AE FFF8 cmp.l D0, [A6 - 0x8]
00004844 4FEF 0010 lea.l A7, [A7 + 0x10]
00004848 6C2E bge +0x30 /* 00004878 */
0000484A 58AE FFF8 addq.l [A6 - 0x8], 4
0000484E 202E FFF8 move.l D0, [A6 - 0x8]
00004852 A122 syscall NewHandle, flags=1
00004854 2848 movea.l A4, A0
00004856 200C move.l D0, A4
00004858 671A beq +0x1C /* 00004874 */
0000485A 204C movea.l A0, A4
0000485C A029 syscall HLock
0000485E 204B movea.l A0, A3
00004860 A029 syscall HLock
00004862 202E FFF8 move.l D0, [A6 - 0x8]
00004866 2254 movea.l A1, [A4]
00004868 2053 movea.l A0, [A3]
0000486A A02E syscall BlockMove/BlockMoveData
0000486C 204B movea.l A0, A3
0000486E A02A syscall HUnlock
00004870 204C movea.l A0, A4
00004872 A02A syscall HUnlock
label00004874:
00004874 204B movea.l A0, A3
00004876 A023 syscall DisposHandle/DisposeHandle
label00004878:
00004878 200C move.l D0, A4
0000487A 4CDF 1C00 movem.l A2,A3,A4, [A7]+
0000487E 4E5E unlink A6
00004880 4E75 rts
fn00004882:
00004882 4E56 FFFC link A6, -0x0004
00004886 48E7 0018 movem.l -[A7], A3,A4
0000488A 286E 0008 movea.l A4, [A6 + 0x8]
0000488E 204C movea.l A0, A4
00004890 A029 syscall HLock
00004892 43EE FFFC lea.l A1, [A6 - 0x4]
00004896 7004 moveq.l D0, 0x04
00004898 2054 movea.l A0, [A4]
0000489A A02E syscall BlockMove/BlockMoveData
0000489C 204C movea.l A0, A4
0000489E A02A syscall HUnlock
000048A0 206E FFFC movea.l A0, [A6 - 0x4]
000048A4 41E8 0100 lea.l A0, [A0 + 0x100]
000048A8 2008 move.l D0, A0
000048AA A122 syscall NewHandle, flags=1
000048AC 2648 movea.l A3, A0
000048AE 200B move.l D0, A3
000048B0 6736 beq +0x38 /* 000048E8 */
000048B2 204C movea.l A0, A4
000048B4 A029 syscall HLock
000048B6 204B movea.l A0, A3
000048B8 A029 syscall HLock
000048BA 486E FFFC pea.l [A6 - 0x4]
000048BE 2F13 move.l -[A7], [A3]
000048C0 42A7 clr.l -[A7]
000048C2 2F0C move.l -[A7], A4
000048C4 4EBA F1D4 jsr [PC - 0xE2C /* 00003A9A */]
000048C8 205F movea.l A0, [A7]+
000048CA 4868 FFFC pea.l [A0 - 0x4]
000048CE 2054 movea.l A0, [A4]
000048D0 4868 0004 pea.l [A0 + 0x4]
000048D4 4EBA FC8A jsr [PC - 0x376 /* 00004560 */]
000048D8 204B movea.l A0, A3
000048DA A02A syscall HUnlock
000048DC 204C movea.l A0, A4
000048DE A02A syscall HUnlock
000048E0 204C movea.l A0, A4
000048E2 A023 syscall DisposHandle/DisposeHandle
000048E4 4FEF 0010 lea.l A7, [A7 + 0x10]
label000048E8:
000048E8 200B move.l D0, A3
000048EA 4CDF 1800 movem.l A3,A4, [A7]+
000048EE 4E5E unlink A6
000048F0 4E75 rts
fn000048F2:
000048F2 4E56 0000 link A6, 0
000048F6 48E7 0338 movem.l -[A7], D6,D7,A2,A3,A4
000048FA 3C2E 0008 move.w D6, [A6 + 0x8]
000048FE 99CC sub.l A4, A4
00004900 4AAD FEA2 tst.l [A5 - 0x15E]
00004904 6740 beq +0x42 /* 00004946 */
00004906 7E00 moveq.l D7, 0x00
00004908 97CB sub.l A3, A3
0000490A 6034 bra +0x36 /* 00004940 */
label0000490C:
0000490C 244B movea.l A2, A3
0000490E D5ED FEA2 add.l A2, [A5 - 0x15E]
00004912 BC6A 001C cmp.w D6, [A2 + 0x1C]
00004916 6622 bne +0x24 /* 0000493A */
00004918 4AAA 0004 tst.l [A2 + 0x4]
0000491C 6704 beq +0x6 /* 00004922 */
0000491E 284A movea.l A4, A2
00004920 6024 bra +0x26 /* 00004946 */
label00004922:
00004922 4227 clr.b -[A7]
00004924 2F0A move.l -[A7], A2
00004926 3F06 move.w -[A7], D6
00004928 4EBA 03E6 jsr [PC + 0x3E6 /* 00004D10 */]
0000492C 4A00 tst.b D0
0000492E 508F addq.l A7, 8
00004930 6708 beq +0xA /* 0000493A */
00004932 284B movea.l A4, A3
00004934 D9ED FEA2 add.l A4, [A5 - 0x15E]
00004938 600C bra +0xE /* 00004946 */
label0000493A:
0000493A 5247 addq.w D7, 1
0000493C 47EB 0026 lea.l A3, [A3 + 0x26]
label00004940:
00004940 BE6D FEA0 cmp.w D7, [A5 - 0x160]
00004944 6DC6 blt -0x38 /* 0000490C */
label00004946:
00004946 200C move.l D0, A4
00004948 4CDF 1CC0 movem.l D6,D7,A2,A3,A4, [A7]+
0000494C 4E5E unlink A6
0000494E 4E75 rts
fn00004950:
00004950 48E7 0338 movem.l -[A7], D6,D7,A2,A3,A4
00004954 99CC sub.l A4, A4
00004956 7E00 moveq.l D7, 0x00
00004958 97CB sub.l A3, A3
0000495A 6014 bra +0x16 /* 00004970 */
label0000495C:
0000495C 244B movea.l A2, A3
0000495E D5ED FEDC add.l A2, [A5 - 0x124]
00004962 4A12 tst.b [A2]
00004964 6604 bne +0x6 /* 0000496A */
00004966 284A movea.l A4, A2
00004968 600C bra +0xE /* 00004976 */
label0000496A:
0000496A 5247 addq.w D7, 1
0000496C 47EB 0068 lea.l A3, [A3 + 0x68]
label00004970:
00004970 BE6D FEDA cmp.w D7, [A5 - 0x126]
00004974 6DE6 blt -0x18 /* 0000495C */
label00004976:
00004976 200C move.l D0, A4
00004978 6630 bne +0x32 /* 000049AA */
0000497A 2C2D FEAC move.l D6, [A5 - 0x154]
0000497E 7E00 moveq.l D7, 0x00
00004980 97CB sub.l A3, A3
00004982 6018 bra +0x1A /* 0000499C */
label00004984:
00004984 244B movea.l A2, A3
00004986 D5ED FEDC add.l A2, [A5 - 0x124]
0000498A BCAA 0016 cmp.l D6, [A2 + 0x16]
0000498E 6F06 ble +0x8 /* 00004996 */
00004990 284A movea.l A4, A2
00004992 2C2C 0016 move.l D6, [A4 + 0x16]
label00004996:
00004996 5247 addq.w D7, 1
00004998 47EB 0068 lea.l A3, [A3 + 0x68]
label0000499C:
0000499C BE6D FEDA cmp.w D7, [A5 - 0x126]
000049A0 6DE2 blt -0x1C /* 00004984 */
000049A2 200C move.l D0, A4
000049A4 6604 bne +0x6 /* 000049AA */
000049A6 286D FEDC movea.l A4, [A5 - 0x124]
label000049AA:
000049AA 4214 clr.b [A4]
000049AC 42AC 0016 clr.l [A4 + 0x16]
000049B0 200C move.l D0, A4
000049B2 4CDF 1CC0 movem.l D6,D7,A2,A3,A4, [A7]+
000049B6 4E75 rts
fn000049B8:
000049B8 4E56 FFFC link A6, -0x0004
000049BC 48E7 0118 movem.l -[A7], D7,A3,A4
000049C0 99CC sub.l A4, A4
000049C2 7E00 moveq.l D7, 0x00
000049C4 99CC sub.l A4, A4
000049C6 601A bra +0x1C /* 000049E2 */
label000049C8:
000049C8 264C movea.l A3, A4
000049CA D7ED FEDC add.l A3, [A5 - 0x124]
000049CE 302B 0036 move.w D0, [A3 + 0x36]
000049D2 B06E 0008 cmp.w D0, [A6 + 0x8]
000049D6 6604 bne +0x6 /* 000049DC */
000049D8 200B move.l D0, A3
000049DA 600E bra +0x10 /* 000049EA */
label000049DC:
000049DC 5247 addq.w D7, 1
000049DE 49EC 0068 lea.l A4, [A4 + 0x68]
label000049E2:
000049E2 BE6D FEDA cmp.w D7, [A5 - 0x126]
000049E6 6DE0 blt -0x1E /* 000049C8 */
000049E8 7000 moveq.l D0, 0x00
label000049EA:
000049EA 4CDF 1880 movem.l D7,A3,A4, [A7]+
000049EE 4E5E unlink A6
000049F0 4E75 rts
fn000049F2:
000049F2 4E56 0000 link A6, 0
000049F6 48E7 0308 movem.l -[A7], D6,D7,A4
000049FA 2E2E 0010 move.l D7, [A6 + 0x10]
000049FE 2C2E 0016 move.l D6, [A6 + 0x16]
00004A02 4EBA FF4C jsr [PC - 0xB4 /* 00004950 */]
00004A06 2840 movea.l A4, D0
00004A08 4AAE 0008 tst.l [A6 + 0x8]
00004A0C 6700 00CA beq +0xCC /* 00004AD8 */
00004A10 4A2D FEAA tst.b [A5 - 0x156]
00004A14 6600 00C2 bne +0xC4 /* 00004AD8 */
00004A18 4A6D FEA8 tst.w [A5 - 0x158]
00004A1C 6F08 ble +0xA /* 00004A26 */
00004A1E 4AAD FEBC tst.l [A5 - 0x144]
00004A22 6700 00B4 beq +0xB6 /* 00004AD8 */
label00004A26:
00004A26 3B6D FEA6 FEA8 move.w [A5 - 0x158], [A5 - 0x15A]
00004A2C 0C6E FFFF 001E cmpi.w [A6 + 0x1E], 0xFFFF
00004A32 6714 beq +0x16 /* 00004A48 */
00004A34 2F2E 000C move.l -[A7], [A6 + 0xC]
00004A38 2F07 move.l -[A7], D7
00004A3A 4EBA 00A4 jsr [PC + 0xA4 /* 00004AE0 */]
00004A3E 3040 movea.w A0, D0
00004A40 2948 0012 move.l [A4 + 0x12], A0
00004A44 508F addq.l A7, 8
00004A46 6006 bra +0x8 /* 00004A4E */
label00004A48:
00004A48 70FF moveq.l D0, 0xFFFFFFFF
00004A4A 2940 0012 move.l [A4 + 0x12], D0
label00004A4E:
00004A4E 296D FEAC 0016 move.l [A4 + 0x16], [A5 - 0x154]
00004A54 2F06 move.l -[A7], D6
00004A56 2F07 move.l -[A7], D7
00004A58 4EBA 0086 jsr [PC + 0x86 /* 00004AE0 */]
00004A5C 3040 movea.w A0, D0
00004A5E 2948 0002 move.l [A4 + 0x2], A0
00004A62 2EAE 001A move.l [A7], [A6 + 0x1A]
00004A66 2F07 move.l -[A7], D7
00004A68 4EBA 0076 jsr [PC + 0x76 /* 00004AE0 */]
00004A6C 3040 movea.w A0, D0
00004A6E 91C6 sub.l A0, D6
00004A70 2948 0006 move.l [A4 + 0x6], A0
00004A74 5BAC 0002 subq.l [A4 + 0x2], 5
00004A78 5BAC 0006 subq.l [A4 + 0x6], 5
00004A7C 7006 moveq.l D0, 0x06
00004A7E D0AE 0008 add.l D0, [A6 + 0x8]
00004A82 2940 001E move.l [A4 + 0x1E], D0
00004A86 296E 000C 0022 move.l [A4 + 0x22], [A6 + 0xC]
00004A8C 2947 0026 move.l [A4 + 0x26], D7
00004A90 2946 002A move.l [A4 + 0x2A], D6
00004A94 296E 001A 002E move.l [A4 + 0x2E], [A6 + 0x1A]
00004A9A 396E 001E 003C move.w [A4 + 0x3C], [A6 + 0x1E]
00004AA0 296E 0022 003E move.l [A4 + 0x3E], [A6 + 0x22]
00004AA6 196E 0020 0042 move.b [A4 + 0x42], [A6 + 0x20]
00004AAC 41EC 003C lea.l A0, [A4 + 0x3C]
00004AB0 2948 0032 move.l [A4 + 0x32], A0
00004AB4 396E 0014 0036 move.w [A4 + 0x36], [A6 + 0x14]
00004ABA 200D move.l D0, A5
00004ABC 2A78 0904 movea.l A5, [0x00000904 /* CurrentA5 */]
00004AC0 2940 0038 move.l [A4 + 0x38], D0
00004AC4 18BC 0001 move.b [A4], 0x1
00004AC8 486C 001E pea.l [A4 + 0x1E]
00004ACC 3F3C 0064 move.w -[A7], 0x64 /* 'd' */
00004AD0 4EBA F370 jsr [PC - 0xC90 /* 00003E42 */]
00004AD4 4FEF 0012 lea.l A7, [A7 + 0x12]
label00004AD8:
00004AD8 4CDF 10C0 movem.l D6,D7,A4, [A7]+
00004ADC 4E5E unlink A6
00004ADE 4E75 rts
fn00004AE0:
00004AE0 4E56 0000 link A6, 0
00004AE4 2F07 move.l -[A7], D7
00004AE6 2E2E 0008 move.l D7, [A6 + 0x8]
00004AEA 7010 moveq.l D0, 0x10
00004AEC E0A7 asr D7, D0
00004AEE 4A47 tst.w D7
00004AF0 6718 beq +0x1A /* 00004B0A */
00004AF2 3047 movea.w A0, D7
00004AF4 2F08 move.l -[A7], A0
00004AF6 4878 003C push.l 0x3C /* '<' */
00004AFA 2F2E 000C move.l -[A7], [A6 + 0xC]
00004AFE 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
00004B02 2F00 move.l -[A7], D0
00004B04 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
00004B08 6002 bra +0x4 /* 00004B0C */
label00004B0A:
00004B0A 7000 moveq.l D0, 0x00
label00004B0C:
00004B0C 2E1F move.l D7, [A7]+
00004B0E 4E5E unlink A6
00004B10 4E75 rts
export_28:
00004B12 4E56 FFFE link A6, -0x0002
00004B16 48E7 0738 movem.l -[A7], D5,D6,D7,A2,A3,A4
00004B1A 200D move.l D0, A5
00004B1C 2A78 0904 movea.l A5, [0x00000904 /* CurrentA5 */]
00004B20 2E00 move.l D7, D0
00004B22 3B7C 0001 FED4 move.w [A5 - 0x12C], 0x1
00004B28 4A2D FED8 tst.b [A5 - 0x128]
00004B2C 6600 0120 bne +0x122 /* 00004C4E */
00004B30 1B7C 0001 FED8 move.b [A5 - 0x128], 0x1
00004B36 4A2D FE7C tst.b [A5 - 0x184]
00004B3A 670A beq +0xC /* 00004B46 */
00004B3C 2F2D FEAC move.l -[A7], [A5 - 0x154]
00004B40 4EBA F976 jsr [PC - 0x68A /* 000044B8 */]
00004B44 588F addq.l A7, 4
label00004B46:
00004B46 4A6D FEA8 tst.w [A5 - 0x158]
00004B4A 6F04 ble +0x6 /* 00004B50 */
00004B4C 536D FEA8 subq.w [A5 - 0x158], 1
label00004B50:
00004B50 4AAD FEB4 tst.l [A5 - 0x14C]
00004B54 6706 beq +0x8 /* 00004B5C */
00004B56 206D FEB4 movea.l A0, [A5 - 0x14C]
00004B5A 4E90 jsr [A0]
label00004B5C:
00004B5C 4AAD FEDC tst.l [A5 - 0x124]
00004B60 6756 beq +0x58 /* 00004BB8 */
00004B62 286D FEDC movea.l A4, [A5 - 0x124]
00004B66 7C00 moveq.l D6, 0x00
00004B68 6048 bra +0x4A /* 00004BB2 */
label00004B6A:
00004B6A 4A14 tst.b [A4]
00004B6C 673E beq +0x40 /* 00004BAC */
00004B6E 2A2C 0012 move.l D5, [A4 + 0x12]
00004B72 70FF moveq.l D0, 0xFFFFFFFF
00004B74 B085 cmp.l D0, D5
00004B76 6714 beq +0x16 /* 00004B8C */
00004B78 4A85 tst.l D5
00004B7A 6F06 ble +0x8 /* 00004B82 */
00004B7C 53AC 0012 subq.l [A4 + 0x12], 1
00004B80 600A bra +0xC /* 00004B8C */
label00004B82:
00004B82 4214 clr.b [A4]
00004B84 422C 0042 clr.b [A4 + 0x42]
00004B88 426C 003C clr.w [A4 + 0x3C]
label00004B8C:
00004B8C 4A2C 0042 tst.b [A4 + 0x42]
00004B90 671A beq +0x1C /* 00004BAC */
00004B92 4AAC 003E tst.l [A4 + 0x3E]
00004B96 6714 beq +0x16 /* 00004BAC */
00004B98 206C 003E movea.l A0, [A4 + 0x3E]
00004B9C 4E90 jsr [A0]
00004B9E 4A00 tst.b D0
00004BA0 6704 beq +0x6 /* 00004BA6 */
00004BA2 70FF moveq.l D0, 0xFFFFFFFF
00004BA4 6002 bra +0x4 /* 00004BA8 */
label00004BA6:
00004BA6 7000 moveq.l D0, 0x00
label00004BA8:
00004BA8 3940 003C move.w [A4 + 0x3C], D0
label00004BAC:
00004BAC 5246 addq.w D6, 1
00004BAE 49EC 0068 lea.l A4, [A4 + 0x68]
label00004BB2:
00004BB2 BC6D FEDA cmp.w D6, [A5 - 0x126]
00004BB6 6DB2 blt -0x4C /* 00004B6A */
label00004BB8:
00004BB8 4AAD FEBC tst.l [A5 - 0x144]
00004BBC 6700 0088 beq +0x8A /* 00004C46 */
00004BC0 4A6D FEC8 tst.w [A5 - 0x138]
00004BC4 6C7C bge +0x7E /* 00004C42 */
00004BC6 302D FEC4 move.w D0, [A5 - 0x13C]
00004BCA B06D FEC6 cmp.w D0, [A5 - 0x13A]
00004BCE 6C6C bge +0x6E /* 00004C3C */
00004BD0 302D FEC4 move.w D0, [A5 - 0x13C]
00004BD4 48C0 ext.l D0
00004BD6 E788 lsl D0, 3
00004BD8 D0AD FEBC add.l D0, [A5 - 0x144]
00004BDC 2640 movea.l A3, D0
00004BDE 246D FEBC movea.l A2, [A5 - 0x144]
00004BE2 0C53 FFFF cmpi.w [A3], 0xFFFF
00004BE6 6614 bne +0x16 /* 00004BFC */
00004BE8 422D FED8 clr.b [A5 - 0x128]
00004BEC 3F13 move.w -[A7], [A3]
00004BEE 4EBA 0A6C jsr [PC + 0xA6C /* 0000565C */]
00004BF2 1B7C 0001 FED8 move.b [A5 - 0x128], 0x1
00004BF8 548F addq.l A7, 2
00004BFA 600C bra +0xE /* 00004C08 */
label00004BFC:
00004BFC 2F2B 0002 move.l -[A7], [A3 + 0x2]
00004C00 3F13 move.w -[A7], [A3]
00004C02 4EBA 0742 jsr [PC + 0x742 /* 00005346 */]
00004C06 5C8F addq.l A7, 6
label00004C08:
00004C08 3C2B 0006 move.w D6, [A3 + 0x6]
00004C0C 0C46 FFFE cmpi.w D6, 0xFFFE
00004C10 661C bne +0x1E /* 00004C2E */
00004C12 3F13 move.w -[A7], [A3]
00004C14 4EBA FDA2 jsr [PC - 0x25E /* 000049B8 */]
00004C18 2840 movea.l A4, D0
00004C1A 200C move.l D0, A4
00004C1C 548F addq.l A7, 2
00004C1E 6708 beq +0xA /* 00004C28 */
00004C20 3B6C 0014 FEC8 move.w [A5 - 0x138], [A4 + 0x14]
00004C26 600A bra +0xC /* 00004C32 */
label00004C28:
00004C28 426D FEC8 clr.w [A5 - 0x138]
00004C2C 6004 bra +0x6 /* 00004C32 */
label00004C2E:
00004C2E 3B46 FEC8 move.w [A5 - 0x138], D6
label00004C32:
00004C32 526D FEC4 addq.w [A5 - 0x13C], 1
00004C36 2B4A FEBC move.l [A5 - 0x144], A2
00004C3A 600A bra +0xC /* 00004C46 */
label00004C3C:
00004C3C 42AD FEBC clr.l [A5 - 0x144]
00004C40 6004 bra +0x6 /* 00004C46 */
label00004C42:
00004C42 536D FEC8 subq.w [A5 - 0x138], 1
label00004C46:
00004C46 52AD FEAC addq.l [A5 - 0x154], 1
00004C4A 422D FED8 clr.b [A5 - 0x128]
label00004C4E:
00004C4E 2007 move.l D0, D7
00004C50 C18D exg D0, A5
00004C52 4CDF 1CE0 movem.l D5,D6,D7,A2,A3,A4, [A7]+
00004C56 4E5E unlink A6
00004C58 4E75 rts
00004C5A 4E56 0000 link A6, 0
00004C5E 2B6E 0008 FEB4 move.l [A5 - 0x14C], [A6 + 0x8]
00004C64 4E5E unlink A6
00004C66 4E75 rts
00004C68 4E56 0000 link A6, 0
00004C6C 4E5E unlink A6
00004C6E 4E75 rts
00004C70 4E56 FFFC link A6, -0x0004
00004C74 2F07 move.l -[A7], D7
00004C76 206E 0008 movea.l A0, [A6 + 0x8]
00004C7A 3E28 0002 move.w D7, [A0 + 0x2]
00004C7E 0C47 736D cmpi.w D7, 0x736D /* 'sm' */
00004C82 6624 bne +0x26 /* 00004CA8 */
00004C84 206E 0008 movea.l A0, [A6 + 0x8]
00004C88 2028 0004 move.l D0, [A0 + 0x4]
00004C8C C18D exg D0, A5
00004C8E 2E00 move.l D7, D0
00004C90 4AAD FEB8 tst.l [A5 - 0x148]
00004C94 6706 beq +0x8 /* 00004C9C */
00004C96 206D FEB8 movea.l A0, [A5 - 0x148]
00004C9A 4E90 jsr [A0]
label00004C9C:
00004C9C 206E 0008 movea.l A0, [A6 + 0x8]
00004CA0 2028 0004 move.l D0, [A0 + 0x4]
00004CA4 C18D exg D0, A5
00004CA6 2E00 move.l D7, D0
label00004CA8:
00004CA8 2E1F move.l D7, [A7]+
00004CAA 4E5E unlink A6
00004CAC 205F movea.l A0, [A7]+
00004CAE 508F addq.l A7, 8
00004CB0 4ED0 jmp [A0]
fn00004CB2:
00004CB2 4E56 FFFC link A6, -0x0004
00004CB6 48E7 0018 movem.l -[A7], A3,A4
00004CBA 286E 0008 movea.l A4, [A6 + 0x8]
00004CBE 204C movea.l A0, A4
00004CC0 A029 syscall HLock
00004CC2 43EE FFFC lea.l A1, [A6 - 0x4]
00004CC6 7004 moveq.l D0, 0x04
00004CC8 2054 movea.l A0, [A4]
00004CCA A02E syscall BlockMove/BlockMoveData
00004CCC 202E FFFC move.l D0, [A6 - 0x4]
00004CD0 A122 syscall NewHandle, flags=1
00004CD2 2648 movea.l A3, A0
00004CD4 200B move.l D0, A3
00004CD6 672A beq +0x2C /* 00004D02 */
00004CD8 204B movea.l A0, A3
00004CDA A029 syscall HLock
00004CDC 486E FFFC pea.l [A6 - 0x4]
00004CE0 2F13 move.l -[A7], [A3]
00004CE2 42A7 clr.l -[A7]
00004CE4 2F0C move.l -[A7], A4
00004CE6 4EBA EDB2 jsr [PC - 0x124E /* 00003A9A */]
00004CEA 205F movea.l A0, [A7]+
00004CEC 4868 FFFC pea.l [A0 - 0x4]
00004CF0 2054 movea.l A0, [A4]
00004CF2 4868 0004 pea.l [A0 + 0x4]
00004CF6 4EBA F8BC jsr [PC - 0x744 /* 000045B4 */]
00004CFA 204B movea.l A0, A3
00004CFC A02A syscall HUnlock
00004CFE 4FEF 0010 lea.l A7, [A7 + 0x10]
label00004D02:
00004D02 204C movea.l A0, A4
00004D04 A02A syscall HUnlock
00004D06 200B move.l D0, A3
00004D08 4CDF 1800 movem.l A3,A4, [A7]+
00004D0C 4E5E unlink A6
00004D0E 4E75 rts
fn00004D10:
00004D10 4E56 FFF2 link A6, -0x000E
00004D14 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
00004D18 3E2E 0008 move.w D7, [A6 + 0x8]
00004D1C 286E 000A movea.l A4, [A6 + 0xA]
00004D20 422E FFF3 clr.b [A6 - 0xD]
00004D24 4A2E 000E tst.b [A6 + 0xE]
00004D28 6600 0122 bne +0x124 /* 00004E4C */
00004D2C 4214 clr.b [A4]
00004D2E 42A7 clr.l -[A7]
00004D30 2F3C 6373 6E64 move.l -[A7], 0x63736E64 /* 'csnd' */
00004D36 3F07 move.w -[A7], D7
00004D38 A9A0 syscall GetResource
00004D3A 261F move.l D3, [A7]+
00004D3C 4A83 tst.l D3
00004D3E 671C beq +0x1E /* 00004D5C */
00004D40 422C 0001 clr.b [A4 + 0x1]
00004D44 2F03 move.l -[A7], D3
00004D46 4EBA FF6A jsr [PC - 0x96 /* 00004CB2 */]
00004D4A 2D40 FFF4 move.l [A6 - 0xC], D0
00004D4E 2043 movea.l A0, D3
00004D50 A049 syscall HPurge
00004D52 2E83 move.l [A7], D3
00004D54 A9A3 syscall ReleaseResource
00004D56 262E FFF4 move.l D3, [A6 - 0xC]
00004D5A 601A bra +0x1C /* 00004D76 */
label00004D5C:
00004D5C 197C 0001 0001 move.b [A4 + 0x1], 0x1
00004D62 197C 0001 0002 move.b [A4 + 0x2], 0x1
00004D68 42A7 clr.l -[A7]
00004D6A 2F3C 736E 6420 move.l -[A7], 0x736E6420 /* 'snd ' */
00004D70 3F07 move.w -[A7], D7
00004D72 A9A0 syscall GetResource
00004D74 261F move.l D3, [A7]+
label00004D76:
00004D76 4A83 tst.l D3
00004D78 6700 00D4 beq +0xD6 /* 00004E4E */
00004D7C 2043 movea.l A0, D3
00004D7E A069 syscall HGetState
00004D80 1940 0003 move.b [A4 + 0x3], D0
00004D84 4A2C 0003 tst.b [A4 + 0x3]
00004D88 6B04 bmi +0x6 /* 00004D8E */
00004D8A 2043 movea.l A0, D3
00004D8C A064 syscall MoveHHi
label00004D8E:
00004D8E 082C 0005 0003 btst.b [A4 + 0x3], 0x5
00004D94 6604 bne +0x6 /* 00004D9A */
00004D96 422C 0002 clr.b [A4 + 0x2]
label00004D9A:
00004D9A 4A78 0220 tst.w [0x00000220 /* MemErr */]
00004D9E 6600 0098 bne +0x9A /* 00004E38 */
00004DA2 2043 movea.l A0, D3
00004DA4 A029 syscall HLock
00004DA6 2043 movea.l A0, D3
00004DA8 2450 movea.l A2, [A0]
00004DAA 3D52 FFF8 move.w [A6 - 0x8], [A2]
00004DAE 302E FFF8 move.w D0, [A6 - 0x8]
00004DB2 6722 beq +0x24 /* 00004DD6 */
00004DB4 6B20 bmi +0x22 /* 00004DD6 */
00004DB6 5540 subq.w D0, 2
00004DB8 6712 beq +0x14 /* 00004DCC */
00004DBA 6A1A bpl +0x1C /* 00004DD6 */
00004DBC 382A 0002 move.w D4, [A2 + 0x2]
00004DC0 7006 moveq.l D0, 0x06
00004DC2 C1C4 muls.w D0, D4
00004DC4 3D72 0004 FFFA move.w [A6 - 0x6], [A2 + D0.w + 0x4]
00004DCA 6010 bra +0x12 /* 00004DDC */
label00004DCC:
00004DCC 7800 moveq.l D4, 0x00
00004DCE 3D6A 0004 FFFA move.w [A6 - 0x6], [A2 + 0x4]
00004DD4 6006 bra +0x8 /* 00004DDC */
label00004DD6:
00004DD6 3D7C FFFF FFF8 move.w [A6 - 0x8], 0xFFFF
label00004DDC:
00004DDC 0C6E FFFF FFF8 cmpi.w [A6 - 0x8], 0xFFFF
00004DE2 6750 beq +0x52 /* 00004E34 */
00004DE4 7006 moveq.l D0, 0x06
00004DE6 C1C4 muls.w D0, D4
00004DE8 3040 movea.w A0, D0
00004DEA 302E FFFA move.w D0, [A6 - 0x6]
00004DEE E748 lsl D0.w, 3
00004DF0 5C40 addq.w D0, 6
00004DF2 D0C0 add.w A0, D0
00004DF4 2D48 FFFC move.l [A6 - 0x4], A0
00004DF8 42A7 clr.l -[A7]
00004DFA 2243 movea.l A1, D3
00004DFC 2F11 move.l -[A7], [A1]
00004DFE 4EBA EE72 jsr [PC - 0x118E /* 00003C72 */]
00004E02 266E FFFC movea.l A3, [A6 - 0x4]
00004E06 D7DF add.l A3, [A7]+
00004E08 294B 0008 move.l [A4 + 0x8], A3
00004E0C 41EB 0016 lea.l A0, [A3 + 0x16]
00004E10 2948 000C move.l [A4 + 0xC], A0
00004E14 296B 0004 0010 move.l [A4 + 0x10], [A3 + 0x4]
00004E1A 296B 000C 0014 move.l [A4 + 0x14], [A3 + 0xC]
00004E20 296B 0010 0018 move.l [A4 + 0x18], [A3 + 0x10]
00004E26 296B 0008 001E move.l [A4 + 0x1E], [A3 + 0x8]
00004E2C 1D7C 0001 FFF3 move.b [A6 - 0xD], 0x1
00004E32 601A bra +0x1C /* 00004E4E */
label00004E34:
00004E34 2043 movea.l A0, D3
00004E36 A02A syscall HUnlock
label00004E38:
00004E38 4A2C 0001 tst.b [A4 + 0x1]
00004E3C 6706 beq +0x8 /* 00004E44 */
00004E3E 2F03 move.l -[A7], D3
00004E40 A9A3 syscall ReleaseResource
00004E42 6004 bra +0x6 /* 00004E48 */
label00004E44:
00004E44 2043 movea.l A0, D3
00004E46 A023 syscall DisposHandle/DisposeHandle
label00004E48:
00004E48 7600 moveq.l D3, 0x00
00004E4A 6002 bra +0x4 /* 00004E4E */
label00004E4C:
00004E4C 7600 moveq.l D3, 0x00
label00004E4E:
00004E4E 3947 001C move.w [A4 + 0x1C], D7
00004E52 2943 0004 move.l [A4 + 0x4], D3
00004E56 102E FFF3 move.b D0, [A6 - 0xD]
00004E5A 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
00004E5E 4E5E unlink A6
00004E60 4E75 rts
fn00004E62:
00004E62 4E56 0000 link A6, 0
00004E66 48E7 0038 movem.l -[A7], A2,A3,A4
00004E6A 286E 0008 movea.l A4, [A6 + 0x8]
00004E6E 4EBA 083E jsr [PC + 0x83E /* 000056AE */]
00004E72 4A00 tst.b D0
00004E74 6744 beq +0x46 /* 00004EBA */
00004E76 4AAD FEBC tst.l [A5 - 0x144]
00004E7A 663E bne +0x40 /* 00004EBA */
00004E7C 45EC 0004 lea.l A2, [A4 + 0x4]
00004E80 2652 movea.l A3, [A2]
00004E82 200B move.l D0, A3
00004E84 6734 beq +0x36 /* 00004EBA */
00004E86 4A2C 0001 tst.b [A4 + 0x1]
00004E8A 671A beq +0x1C /* 00004EA6 */
00004E8C 4A2C 0002 tst.b [A4 + 0x2]
00004E90 670A beq +0xC /* 00004E9C */
00004E92 204B movea.l A0, A3
00004E94 A02A syscall HUnlock
00004E96 2F0B move.l -[A7], A3
00004E98 A9A3 syscall ReleaseResource
00004E9A 6012 bra +0x14 /* 00004EAE */
label00004E9C:
00004E9C 102C 0003 move.b D0, [A4 + 0x3]
00004EA0 204B movea.l A0, A3
00004EA2 A06A syscall HSetState
00004EA4 6008 bra +0xA /* 00004EAE */
label00004EA6:
00004EA6 204B movea.l A0, A3
00004EA8 A02A syscall HUnlock
00004EAA 204B movea.l A0, A3
00004EAC A023 syscall DisposHandle/DisposeHandle
label00004EAE:
00004EAE 4292 clr.l [A2]
00004EB0 42AC 0008 clr.l [A4 + 0x8]
00004EB4 42AC 000C clr.l [A4 + 0xC]
00004EB8 4214 clr.b [A4]
label00004EBA:
00004EBA 4CDF 1C00 movem.l A2,A3,A4, [A7]+
00004EBE 4E5E unlink A6
00004EC0 4E75 rts
fn00004EC2:
00004EC2 4E56 0000 link A6, 0
00004EC6 48E7 0738 movem.l -[A7], D5,D6,D7,A2,A3,A4
00004ECA 266E 0008 movea.l A3, [A6 + 0x8]
00004ECE 7A00 moveq.l D5, 0x00
00004ED0 284B movea.l A4, A3
00004ED2 7E00 moveq.l D7, 0x00
00004ED4 6002 bra +0x4 /* 00004ED8 */
label00004ED6:
00004ED6 5247 addq.w D7, 1
label00004ED8:
00004ED8 0C5C FFFF cmpi.w [A4]+, 0xFFFF
00004EDC 66F8 bne -0x6 /* 00004ED6 */
00004EDE 4A47 tst.w D7
00004EE0 6F42 ble +0x44 /* 00004F24 */
00004EE2 7026 moveq.l D0, 0x26
00004EE4 C1C7 muls.w D0, D7
00004EE6 A31E syscall NewPtrClear, flags=3
00004EE8 2B48 FEA2 move.l [A5 - 0x15E], A0
00004EEC 2008 move.l D0, A0
00004EEE 6732 beq +0x34 /* 00004F22 */
00004EF0 3B47 FEA0 move.w [A5 - 0x160], D7
00004EF4 7C00 moveq.l D6, 0x00
00004EF6 99CC sub.l A4, A4
00004EF8 95CA sub.l A2, A2
00004EFA 6020 bra +0x22 /* 00004F1C */
label00004EFC:
00004EFC 1F2E 000C move.b -[A7], [A6 + 0xC]
00004F00 204A movea.l A0, A2
00004F02 D1ED FEA2 add.l A0, [A5 - 0x15E]
00004F06 2F08 move.l -[A7], A0
00004F08 204B movea.l A0, A3
00004F0A D1CC add.l A0, A4
00004F0C 3F10 move.w -[A7], [A0]
00004F0E 4EBA FE00 jsr [PC - 0x200 /* 00004D10 */]
00004F12 508F addq.l A7, 8
00004F14 5246 addq.w D6, 1
00004F16 548C addq.l A4, 2
00004F18 45EA 0026 lea.l A2, [A2 + 0x26]
label00004F1C:
00004F1C BE46 cmp.w D7, D6
00004F1E 6EDC bgt -0x22 /* 00004EFC */
00004F20 6002 bra +0x4 /* 00004F24 */
label00004F22:
00004F22 7A94 moveq.l D5, 0xFFFFFF94
label00004F24:
00004F24 3005 move.w D0, D5
00004F26 4CDF 1CE0 movem.l D5,D6,D7,A2,A3,A4, [A7]+
00004F2A 4E5E unlink A6
00004F2C 4E75 rts
fn00004F2E:
00004F2E 48E7 0118 movem.l -[A7], D7,A3,A4
00004F32 4AAD FEA2 tst.l [A5 - 0x15E]
00004F36 6726 beq +0x28 /* 00004F5E */
00004F38 7E00 moveq.l D7, 0x00
00004F3A 97CB sub.l A3, A3
00004F3C 6014 bra +0x16 /* 00004F52 */
label00004F3E:
00004F3E 204B movea.l A0, A3
00004F40 D1ED FEA2 add.l A0, [A5 - 0x15E]
00004F44 2F08 move.l -[A7], A0
00004F46 4EBA FF1A jsr [PC - 0xE6 /* 00004E62 */]
00004F4A 588F addq.l A7, 4
00004F4C 5247 addq.w D7, 1
00004F4E 47EB 0026 lea.l A3, [A3 + 0x26]
label00004F52:
00004F52 BE6D FEA0 cmp.w D7, [A5 - 0x160]
00004F56 6DE6 blt -0x18 /* 00004F3E */
00004F58 206D FEA2 movea.l A0, [A5 - 0x15E]
00004F5C A01F syscall DisposPtr/DisposePtr
label00004F5E:
00004F5E 4CDF 1880 movem.l D7,A3,A4, [A7]+
00004F62 4E75 rts
fn00004F64:
00004F64 4E56 0000 link A6, 0
00004F68 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00004F6C 266E 0008 movea.l A3, [A6 + 0x8]
00004F70 284B movea.l A4, A3
00004F72 D9EE 000C add.l A4, [A6 + 0xC]
00004F76 600A bra +0xC /* 00004F82 */
label00004F78:
00004F78 1E13 move.b D7, [A3]
00004F7A 1C14 move.b D6, [A4]
00004F7C 1887 move.b [A4], D7
00004F7E 16C6 move.b [A3]+, D6
00004F80 538C subq.l A4, 1
label00004F82:
00004F82 B9CB cmpa.l A4, A3
00004F84 62F2 bhi -0xC /* 00004F78 */
00004F86 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
00004F8A 4E5E unlink A6
00004F8C 4E75 rts
fn00004F8E:
00004F8E 4E56 0000 link A6, 0
00004F92 48E7 0108 movem.l -[A7], D7,A4
00004F96 286E 0008 movea.l A4, [A6 + 0x8]
00004F9A 42AC 0044 clr.l [A4 + 0x44]
00004F9E 42AC 005C clr.l [A4 + 0x5C]
00004FA2 42AC 0060 clr.l [A4 + 0x60]
00004FA6 197C 003C 0065 move.b [A4 + 0x65], 0x3C /* '<' */
00004FAC 422C 0064 clr.b [A4 + 0x64]
00004FB0 7E01 moveq.l D7, 0x01
00004FB2 1007 move.b D0, D7
00004FB4 4CDF 1080 movem.l D7,A4, [A7]+
00004FB8 4E5E unlink A6
00004FBA 4E75 rts
fn00004FBC:
00004FBC 4E56 0000 link A6, 0
00004FC0 4E5E unlink A6
00004FC2 4E75 rts
fn00004FC4:
00004FC4 4E56 0000 link A6, 0
00004FC8 4A6D FEDA tst.w [A5 - 0x126]
00004FCC 670E beq +0x10 /* 00004FDC */
00004FCE 1F2E 000C move.b -[A7], [A6 + 0xC]
00004FD2 2F2E 0008 move.l -[A7], [A6 + 0x8]
00004FD6 4EBA FEEA jsr [PC - 0x116 /* 00004EC2 */]
00004FDA 6002 bra +0x4 /* 00004FDE */
label00004FDC:
00004FDC 7000 moveq.l D0, 0x00
label00004FDE:
00004FDE 4E5E unlink A6
00004FE0 4E75 rts
00004FE2 4EBA FF4A jsr [PC - 0xB6 /* 00004F2E */]
00004FE6 4E75 rts
fn00004FE8:
00004FE8 4E56 FFEC link A6, -0x0014
00004FEC 48E7 0108 movem.l -[A7], D7,A4
00004FF0 7E00 moveq.l D7, 0x00
00004FF2 1B7C 0001 FEB0 move.b [A5 - 0x150], 0x1
00004FF8 3B7C 0100 FEB2 move.w [A5 - 0x14E], 0x100
00004FFE 3B7C 0003 FEA6 move.w [A5 - 0x15A], 0x3
00005004 426D FEA8 clr.w [A5 - 0x158]
00005008 42AD FEBC clr.l [A5 - 0x144]
0000500C 1B7C 0001 FEAA move.b [A5 - 0x156], 0x1
00005012 42AD FEB4 clr.l [A5 - 0x14C]
00005016 42AD FEB8 clr.l [A5 - 0x148]
0000501A 42AD FEA2 clr.l [A5 - 0x15E]
0000501E 4267 clr.w -[A7]
00005020 3F3C 0001 move.w -[A7], 0x1
00005024 486E FFF0 pea.l [A6 - 0x10]
00005028 4EBA E6F8 jsr [PC - 0x1908 /* 00003722 */]
0000502C 4A5F tst.w [A7]+
0000502E 6606 bne +0x8 /* 00005036 */
00005030 3B6E FFF4 FEB2 move.w [A5 - 0x14E], [A6 - 0xC]
label00005036:
00005036 0C6D 0600 FEB2 cmpi.w [A5 - 0x14E], 0x600
0000503C 6D76 blt +0x78 /* 000050B4 */
0000503E 3B6E 0008 FEDA move.w [A5 - 0x126], [A6 + 0x8]
00005044 7068 moveq.l D0, 0x68
00005046 C1EE 0008 muls.w D0, [A6 + 0x8]
0000504A A31E syscall NewPtrClear, flags=3
0000504C 2B48 FEDC move.l [A5 - 0x124], A0
00005050 2008 move.l D0, A0
00005052 675E beq +0x60 /* 000050B2 */
00005054 7E00 moveq.l D7, 0x00
00005056 99CC sub.l A4, A4
00005058 6014 bra +0x16 /* 0000506E */
label0000505A:
0000505A 204C movea.l A0, A4
0000505C D1ED FEDC add.l A0, [A5 - 0x124]
00005060 2F08 move.l -[A7], A0
00005062 4EBA FF2A jsr [PC - 0xD6 /* 00004F8E */]
00005066 588F addq.l A7, 4
00005068 5247 addq.w D7, 1
0000506A 49EC 0068 lea.l A4, [A4 + 0x68]
label0000506E:
0000506E BE6D FEDA cmp.w D7, [A5 - 0x126]
00005072 6DE6 blt -0x18 /* 0000505A */
00005074 41ED 0102 lea.l A0, [A5 + 0x102 /* export_28 */]
00005078 2B48 FED0 move.l [A5 - 0x130], A0
0000507C 3B7C 0001 FED4 move.w [A5 - 0x12C], 0x1
00005082 3B7C 0001 FECE move.w [A5 - 0x132], 0x1
00005088 42AD FECA clr.l [A5 - 0x136]
0000508C 426D FED6 clr.w [A5 - 0x12A]
00005090 422D FED8 clr.b [A5 - 0x128]
00005094 41ED FECA lea.l A0, [A5 - 0x136]
00005098 A033 syscall VInstall
0000509A 3E00 move.w D7, D0
0000509C 4A47 tst.w D7
0000509E 670C beq +0xE /* 000050AC */
000050A0 206D FEDC movea.l A0, [A5 - 0x124]
000050A4 A01F syscall DisposPtr/DisposePtr
000050A6 42AD FEDC clr.l [A5 - 0x124]
000050AA 6008 bra +0xA /* 000050B4 */
label000050AC:
000050AC 422D FEAA clr.b [A5 - 0x156]
000050B0 6002 bra +0x4 /* 000050B4 */
label000050B2:
000050B2 7E94 moveq.l D7, 0xFFFFFF94
label000050B4:
000050B4 3007 move.w D0, D7
000050B6 4CDF 1080 movem.l D7,A4, [A7]+
000050BA 4E5E unlink A6
000050BC 4E75 rts
fn000050BE:
000050BE 48E7 0108 movem.l -[A7], D7,A4
000050C2 1B7C 0001 FED8 move.b [A5 - 0x128], 0x1
000050C8 422D FEAA clr.b [A5 - 0x156]
000050CC 4A6D FEDA tst.w [A5 - 0x126]
000050D0 673E beq +0x40 /* 00005110 */
000050D2 4EBA 0558 jsr [PC + 0x558 /* 0000562C */]
000050D6 41ED FECA lea.l A0, [A5 - 0x136]
000050DA A034 syscall VRemove
000050DC 7E00 moveq.l D7, 0x00
000050DE 99CC sub.l A4, A4
000050E0 6014 bra +0x16 /* 000050F6 */
label000050E2:
000050E2 204C movea.l A0, A4
000050E4 D1ED FEDC add.l A0, [A5 - 0x124]
000050E8 2F08 move.l -[A7], A0
000050EA 4EBA FED0 jsr [PC - 0x130 /* 00004FBC */]
000050EE 588F addq.l A7, 4
000050F0 5247 addq.w D7, 1
000050F2 49EC 0068 lea.l A4, [A4 + 0x68]
label000050F6:
000050F6 BE6D FEDA cmp.w D7, [A5 - 0x126]
000050FA 6DE6 blt -0x18 /* 000050E2 */
000050FC 4AAD FEDC tst.l [A5 - 0x124]
00005100 670A beq +0xC /* 0000510C */
00005102 206D FEDC movea.l A0, [A5 - 0x124]
00005106 A01F syscall DisposPtr/DisposePtr
00005108 42AD FEDC clr.l [A5 - 0x124]
label0000510C:
0000510C 4EBA FE20 jsr [PC - 0x1E0 /* 00004F2E */]
label00005110:
00005110 4CDF 1080 movem.l D7,A4, [A7]+
00005114 4E75 rts
fn00005116:
00005116 48E7 0108 movem.l -[A7], D7,A4
0000511A 4A2D FEAA tst.b [A5 - 0x156]
0000511E 663C bne +0x3E /* 0000515C */
00005120 2B6D FEBC FEC0 move.l [A5 - 0x140], [A5 - 0x144]
00005126 1B7C 0001 FED8 move.b [A5 - 0x128], 0x1
0000512C 4EBA 04FE jsr [PC + 0x4FE /* 0000562C */]
00005130 41ED FECA lea.l A0, [A5 - 0x136]
00005134 A034 syscall VRemove
00005136 1B7C 0001 FEAA move.b [A5 - 0x156], 0x1
0000513C 7E00 moveq.l D7, 0x00
0000513E 99CC sub.l A4, A4
00005140 6014 bra +0x16 /* 00005156 */
label00005142:
00005142 204C movea.l A0, A4
00005144 D1ED FEDC add.l A0, [A5 - 0x124]
00005148 2F08 move.l -[A7], A0
0000514A 4EBA FE70 jsr [PC - 0x190 /* 00004FBC */]
0000514E 588F addq.l A7, 4
00005150 5247 addq.w D7, 1
00005152 49EC 0068 lea.l A4, [A4 + 0x68]
label00005156:
00005156 BE6D FEDA cmp.w D7, [A5 - 0x126]
0000515A 6DE6 blt -0x18 /* 00005142 */
label0000515C:
0000515C 4CDF 1080 movem.l D7,A4, [A7]+
00005160 4E75 rts
fn00005162:
00005162 48E7 0108 movem.l -[A7], D7,A4
00005166 4A2D FEAA tst.b [A5 - 0x156]
0000516A 6734 beq +0x36 /* 000051A0 */
0000516C 422D FEAA clr.b [A5 - 0x156]
00005170 2B6D FEC0 FEBC move.l [A5 - 0x144], [A5 - 0x140]
00005176 7E00 moveq.l D7, 0x00
00005178 99CC sub.l A4, A4
0000517A 6014 bra +0x16 /* 00005190 */
label0000517C:
0000517C 204C movea.l A0, A4
0000517E D1ED FEDC add.l A0, [A5 - 0x124]
00005182 2F08 move.l -[A7], A0
00005184 4EBA FE08 jsr [PC - 0x1F8 /* 00004F8E */]
00005188 588F addq.l A7, 4
0000518A 5247 addq.w D7, 1
0000518C 49EC 0068 lea.l A4, [A4 + 0x68]
label00005190:
00005190 BE6D FEDA cmp.w D7, [A5 - 0x126]
00005194 6DE6 blt -0x18 /* 0000517C */
00005196 422D FED8 clr.b [A5 - 0x128]
0000519A 41ED FECA lea.l A0, [A5 - 0x136]
0000519E A033 syscall VInstall
label000051A0:
000051A0 4CDF 1080 movem.l D7,A4, [A7]+
000051A4 4E75 rts
000051A6 4E56 FFFC link A6, -0x0004
000051AA 48E7 0738 movem.l -[A7], D5,D6,D7,A2,A3,A4
000051AE 246E 0008 movea.l A2, [A6 + 0x8]
000051B2 284A movea.l A4, A2
000051B4 7E00 moveq.l D7, 0x00
000051B6 6002 bra +0x4 /* 000051BA */
label000051B8:
000051B8 5247 addq.w D7, 1
label000051BA:
000051BA 0C5C FFFF cmpi.w [A4]+, 0xFFFF
000051BE 66F8 bne -0x6 /* 000051B8 */
000051C0 7A26 moveq.l D5, 0x26
000051C2 CBC7 muls.w D5, D7
000051C4 4A47 tst.w D7
000051C6 6F74 ble +0x76 /* 0000523C */
000051C8 7C00 moveq.l D6, 0x00
000051CA 99CC sub.l A4, A4
000051CC 6064 bra +0x66 /* 00005232 */
label000051CE:
000051CE 1F3C 0001 move.b -[A7], 0x1
000051D2 A99B syscall SetResLoad
000051D4 42A7 clr.l -[A7]
000051D6 2F3C 6373 6E64 move.l -[A7], 0x63736E64 /* 'csnd' */
000051DC 204A movea.l A0, A2
000051DE D1CC add.l A0, A4
000051E0 3F10 move.w -[A7], [A0]
000051E2 A9A0 syscall GetResource
000051E4 265F movea.l A3, [A7]+
000051E6 200B move.l D0, A3
000051E8 6626 bne +0x28 /* 00005210 */
000051EA 4227 clr.b -[A7]
000051EC A99B syscall SetResLoad
000051EE 42A7 clr.l -[A7]
000051F0 2F3C 736E 6420 move.l -[A7], 0x736E6420 /* 'snd ' */
000051F6 204A movea.l A0, A2
000051F8 D1CC add.l A0, A4
000051FA 3F10 move.w -[A7], [A0]
000051FC A9A0 syscall GetResource
000051FE 265F movea.l A3, [A7]+
00005200 200B move.l D0, A3
00005202 6722 beq +0x24 /* 00005226 */
00005204 42A7 clr.l -[A7]
00005206 2F0B move.l -[A7], A3
00005208 A9A5 syscall GetResourceSizeOnDisk/SizeResource/SizeRsrc
0000520A 2D5F FFFC move.l [A6 - 0x4], [A7]+
0000520E 6016 bra +0x18 /* 00005226 */
label00005210:
00005210 204B movea.l A0, A3
00005212 A029 syscall HLock
00005214 43EE FFFC lea.l A1, [A6 - 0x4]
00005218 7004 moveq.l D0, 0x04
0000521A 2053 movea.l A0, [A3]
0000521C A02E syscall BlockMove/BlockMoveData
0000521E 204B movea.l A0, A3
00005220 A02A syscall HUnlock
00005222 2F0B move.l -[A7], A3
00005224 A9A3 syscall ReleaseResource
label00005226:
00005226 200B move.l D0, A3
00005228 6704 beq +0x6 /* 0000522E */
0000522A DAAE FFFC add.l D5, [A6 - 0x4]
label0000522E:
0000522E 5246 addq.w D6, 1
00005230 548C addq.l A4, 2
label00005232:
00005232 BE46 cmp.w D7, D6
00005234 6E98 bgt -0x66 /* 000051CE */
00005236 1F3C 0001 move.b -[A7], 0x1
0000523A A99B syscall SetResLoad
label0000523C:
0000523C 2005 move.l D0, D5
0000523E 4CDF 1CE0 movem.l D5,D6,D7,A2,A3,A4, [A7]+
00005242 4E5E unlink A6
00005244 4E75 rts
00005246 4E56 0000 link A6, 0
0000524A 48E7 0018 movem.l -[A7], A3,A4
0000524E 99CC sub.l A4, A4
00005250 3F2E 0008 move.w -[A7], [A6 + 0x8]
00005254 4EBA F69C jsr [PC - 0x964 /* 000048F2 */]
00005258 2640 movea.l A3, D0
0000525A 200B move.l D0, A3
0000525C 548F addq.l A7, 2
0000525E 6704 beq +0x6 /* 00005264 */
00005260 286B 000C movea.l A4, [A3 + 0xC]
label00005264:
00005264 200C move.l D0, A4
00005266 4CDF 1800 movem.l A3,A4, [A7]+
0000526A 4E5E unlink A6
0000526C 4E75 rts
fn0000526E:
0000526E 4E56 0000 link A6, 0
00005272 48E7 0108 movem.l -[A7], D7,A4
00005276 7E00 moveq.l D7, 0x00
00005278 3F2E 0008 move.w -[A7], [A6 + 0x8]
0000527C 4EBA F674 jsr [PC - 0x98C /* 000048F2 */]
00005280 2840 movea.l A4, D0
00005282 200C move.l D0, A4
00005284 548F addq.l A7, 2
00005286 6704 beq +0x6 /* 0000528C */
00005288 2E2C 0010 move.l D7, [A4 + 0x10]
label0000528C:
0000528C 2007 move.l D0, D7
0000528E 4CDF 1080 movem.l D7,A4, [A7]+
00005292 4E5E unlink A6
00005294 4E75 rts
00005296 4E56 0000 link A6, 0
0000529A 3F2E 0008 move.w -[A7], [A6 + 0x8]
0000529E 4EBA FFCE jsr [PC - 0x32 /* 0000526E */]
000052A2 2F00 move.l -[A7], D0
000052A4 2F2E 000A move.l -[A7], [A6 + 0xA]
000052A8 4EBA F836 jsr [PC - 0x7CA /* 00004AE0 */]
000052AC 4E5E unlink A6
000052AE 4E75 rts
fn000052B0:
000052B0 4E56 0000 link A6, 0
000052B4 48E7 0108 movem.l -[A7], D7,A4
000052B8 7E00 moveq.l D7, 0x00
000052BA 3F2E 0008 move.w -[A7], [A6 + 0x8]
000052BE 4EBA F632 jsr [PC - 0x9CE /* 000048F2 */]
000052C2 2840 movea.l A4, D0
000052C4 200C move.l D0, A4
000052C6 548F addq.l A7, 2
000052C8 6704 beq +0x6 /* 000052CE */
000052CA 2E2C 001E move.l D7, [A4 + 0x1E]
label000052CE:
000052CE 2007 move.l D0, D7
000052D0 4CDF 1080 movem.l D7,A4, [A7]+
000052D4 4E5E unlink A6
000052D6 4E75 rts
000052D8 4E56 0000 link A6, 0
000052DC 3B6E 0008 FEA6 move.w [A5 - 0x15A], [A6 + 0x8]
000052E2 4E5E unlink A6
000052E4 4E75 rts
000052E6 4E56 0000 link A6, 0
000052EA 42A7 clr.l -[A7]
000052EC 42A7 clr.l -[A7]
000052EE 42A7 clr.l -[A7]
000052F0 42A7 clr.l -[A7]
000052F2 3F3C FFFF move.w -[A7], 0xFFFF
000052F6 2F2E 0010 move.l -[A7], [A6 + 0x10]
000052FA 2F2E 000C move.l -[A7], [A6 + 0xC]
000052FE 2F2E 0008 move.l -[A7], [A6 + 0x8]
00005302 4EBA F6EE jsr [PC - 0x912 /* 000049F2 */]
00005306 4E5E unlink A6
00005308 4E75 rts
0000530A 4E56 0000 link A6, 0
0000530E 2F0C move.l -[A7], A4
00005310 4A2D FEAA tst.b [A5 - 0x156]
00005314 662A bne +0x2C /* 00005340 */
00005316 3F2E 0008 move.w -[A7], [A6 + 0x8]
0000531A 4EBA F69C jsr [PC - 0x964 /* 000049B8 */]
0000531E 2840 movea.l A4, D0
00005320 200C move.l D0, A4
00005322 548F addq.l A7, 2
00005324 671A beq +0x1C /* 00005340 */
00005326 396E 0008 0036 move.w [A4 + 0x36], [A6 + 0x8]
0000532C 296E 000A 0026 move.l [A4 + 0x26], [A6 + 0xA]
00005332 486C 001E pea.l [A4 + 0x1E]
00005336 3F3C 0068 move.w -[A7], 0x68 /* 'h' */
0000533A 4EBA EB06 jsr [PC - 0x14FA /* 00003E42 */]
0000533E 5C8F addq.l A7, 6
label00005340:
00005340 285F movea.l A4, [A7]+
00005342 4E5E unlink A6
00005344 4E75 rts
fn00005346:
00005346 4E56 0000 link A6, 0
0000534A 48E7 0318 movem.l -[A7], D6,D7,A3,A4
0000534E 2E2E 000A move.l D7, [A6 + 0xA]
00005352 4A2D FEAA tst.b [A5 - 0x156]
00005356 6652 bne +0x54 /* 000053AA */
00005358 3F2E 0008 move.w -[A7], [A6 + 0x8]
0000535C 4EBA F594 jsr [PC - 0xA6C /* 000048F2 */]
00005360 2840 movea.l A4, D0
00005362 200C move.l D0, A4
00005364 548F addq.l A7, 2
00005366 6742 beq +0x44 /* 000053AA */
00005368 4A14 tst.b [A4]
0000536A 6710 beq +0x12 /* 0000537C */
0000536C 2F2C 0010 move.l -[A7], [A4 + 0x10]
00005370 2F2C 000C move.l -[A7], [A4 + 0xC]
00005374 4EBA FBEE jsr [PC - 0x412 /* 00004F64 */]
00005378 4214 clr.b [A4]
0000537A 508F addq.l A7, 8
label0000537C:
0000537C 4A87 tst.l D7
0000537E 6604 bne +0x6 /* 00005384 */
00005380 2E2C 001E move.l D7, [A4 + 0x1E]
label00005384:
00005384 2C2C 0010 move.l D6, [A4 + 0x10]
00005388 70FA moveq.l D0, 0xFFFFFFFA
0000538A D0AC 000C add.l D0, [A4 + 0xC]
0000538E 2640 movea.l A3, D0
00005390 42A7 clr.l -[A7]
00005392 42A7 clr.l -[A7]
00005394 42A7 clr.l -[A7]
00005396 42A7 clr.l -[A7]
00005398 3F2E 0008 move.w -[A7], [A6 + 0x8]
0000539C 2F07 move.l -[A7], D7
0000539E 2F06 move.l -[A7], D6
000053A0 2F0B move.l -[A7], A3
000053A2 4EBA F64E jsr [PC - 0x9B2 /* 000049F2 */]
000053A6 4FEF 001E lea.l A7, [A7 + 0x1E]
label000053AA:
000053AA 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
000053AE 4E5E unlink A6
000053B0 4E75 rts
000053B2 4E56 0000 link A6, 0
000053B6 48E7 0318 movem.l -[A7], D6,D7,A3,A4
000053BA 2E2E 000A move.l D7, [A6 + 0xA]
000053BE 4A2D FEAA tst.b [A5 - 0x156]
000053C2 6654 bne +0x56 /* 00005418 */
000053C4 3F2E 0008 move.w -[A7], [A6 + 0x8]
000053C8 4EBA F528 jsr [PC - 0xAD8 /* 000048F2 */]
000053CC 2840 movea.l A4, D0
000053CE 200C move.l D0, A4
000053D0 548F addq.l A7, 2
000053D2 6744 beq +0x46 /* 00005418 */
000053D4 4A14 tst.b [A4]
000053D6 6612 bne +0x14 /* 000053EA */
000053D8 2F2C 0010 move.l -[A7], [A4 + 0x10]
000053DC 2F2C 000C move.l -[A7], [A4 + 0xC]
000053E0 4EBA FB82 jsr [PC - 0x47E /* 00004F64 */]
000053E4 18BC 0001 move.b [A4], 0x1
000053E8 508F addq.l A7, 8
label000053EA:
000053EA 4A87 tst.l D7
000053EC 6604 bne +0x6 /* 000053F2 */
000053EE 2E2C 001E move.l D7, [A4 + 0x1E]
label000053F2:
000053F2 2C2C 0010 move.l D6, [A4 + 0x10]
000053F6 70FA moveq.l D0, 0xFFFFFFFA
000053F8 D0AC 000C add.l D0, [A4 + 0xC]
000053FC 2640 movea.l A3, D0
000053FE 42A7 clr.l -[A7]
00005400 42A7 clr.l -[A7]
00005402 42A7 clr.l -[A7]
00005404 42A7 clr.l -[A7]
00005406 3F2E 0008 move.w -[A7], [A6 + 0x8]
0000540A 2F07 move.l -[A7], D7
0000540C 2F06 move.l -[A7], D6
0000540E 2F0B move.l -[A7], A3
00005410 4EBA F5E0 jsr [PC - 0xA20 /* 000049F2 */]
00005414 4FEF 001E lea.l A7, [A7 + 0x1E]
label00005418:
00005418 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
0000541C 4E5E unlink A6
0000541E 4E75 rts
00005420 4E56 0000 link A6, 0
00005424 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
00005428 2E2E 000A move.l D7, [A6 + 0xA]
0000542C 282E 000E move.l D4, [A6 + 0xE]
00005430 2A2E 0012 move.l D5, [A6 + 0x12]
00005434 4A2D FEAA tst.b [A5 - 0x156]
00005438 6662 bne +0x64 /* 0000549C */
0000543A 3F2E 0008 move.w -[A7], [A6 + 0x8]
0000543E 4EBA F4B2 jsr [PC - 0xB4E /* 000048F2 */]
00005442 2840 movea.l A4, D0
00005444 200C move.l D0, A4
00005446 548F addq.l A7, 2
00005448 6752 beq +0x54 /* 0000549C */
0000544A 4A14 tst.b [A4]
0000544C 6710 beq +0x12 /* 0000545E */
0000544E 2F2C 0010 move.l -[A7], [A4 + 0x10]
00005452 2F2C 000C move.l -[A7], [A4 + 0xC]
00005456 4EBA FB0C jsr [PC - 0x4F4 /* 00004F64 */]
0000545A 4214 clr.b [A4]
0000545C 508F addq.l A7, 8
label0000545E:
0000545E 4A87 tst.l D7
00005460 6604 bne +0x6 /* 00005466 */
00005462 2E2C 001E move.l D7, [A4 + 0x1E]
label00005466:
00005466 70FF moveq.l D0, 0xFFFFFFFF
00005468 B085 cmp.l D0, D5
0000546A 6706 beq +0x8 /* 00005472 */
0000546C BAAC 0010 cmp.l D5, [A4 + 0x10]
00005470 6F04 ble +0x6 /* 00005476 */
label00005472:
00005472 2A2C 0010 move.l D5, [A4 + 0x10]
label00005476:
00005476 2C05 move.l D6, D5
00005478 9C84 sub.l D6, D4
0000547A 266C 000C movea.l A3, [A4 + 0xC]
0000547E 47F3 48FA lea.l A3, [A3 + D4 - 0x6]
00005482 42A7 clr.l -[A7]
00005484 42A7 clr.l -[A7]
00005486 2F05 move.l -[A7], D5
00005488 2F04 move.l -[A7], D4
0000548A 3F2E 0008 move.w -[A7], [A6 + 0x8]
0000548E 2F07 move.l -[A7], D7
00005490 2F06 move.l -[A7], D6
00005492 2F0B move.l -[A7], A3
00005494 4EBA F55C jsr [PC - 0xAA4 /* 000049F2 */]
00005498 4FEF 001E lea.l A7, [A7 + 0x1E]
label0000549C:
0000549C 4CDF 18F0 movem.l D4,D5,D6,D7,A3,A4, [A7]+
000054A0 4E5E unlink A6
000054A2 4E75 rts
000054A4 4E56 FFFC link A6, -0x0004
000054A8 48E7 1F08 movem.l -[A7], D3,D4,D5,D6,D7,A4
000054AC 2E2E 000A move.l D7, [A6 + 0xA]
000054B0 262E 0012 move.l D3, [A6 + 0x12]
000054B4 4A2D FEAA tst.b [A5 - 0x156]
000054B8 666E bne +0x70 /* 00005528 */
000054BA 3F2E 0008 move.w -[A7], [A6 + 0x8]
000054BE 4EBA F432 jsr [PC - 0xBCE /* 000048F2 */]
000054C2 2840 movea.l A4, D0
000054C4 200C move.l D0, A4
000054C6 548F addq.l A7, 2
000054C8 675E beq +0x60 /* 00005528 */
000054CA 4A14 tst.b [A4]
000054CC 6710 beq +0x12 /* 000054DE */
000054CE 2F2C 0010 move.l -[A7], [A4 + 0x10]
000054D2 2F2C 000C move.l -[A7], [A4 + 0xC]
000054D6 4EBA FA8C jsr [PC - 0x574 /* 00004F64 */]
000054DA 4214 clr.b [A4]
000054DC 508F addq.l A7, 8
label000054DE:
000054DE 4A87 tst.l D7
000054E0 6604 bne +0x6 /* 000054E6 */
000054E2 2E2C 001E move.l D7, [A4 + 0x1E]
label000054E6:
000054E6 2A2C 0010 move.l D5, [A4 + 0x10]
000054EA 2C05 move.l D6, D5
000054EC 78FA moveq.l D4, 0xFFFFFFFA
000054EE D8AC 000C add.l D4, [A4 + 0xC]
000054F2 2844 movea.l A4, D4
000054F4 BA83 cmp.l D5, D3
000054F6 6C02 bge +0x4 /* 000054FA */
000054F8 2605 move.l D3, D5
label000054FA:
000054FA 2C03 move.l D6, D3
000054FC 9CAE 000E sub.l D6, [A6 + 0xE]
00005500 2004 move.l D0, D4
00005502 D0AE 000E add.l D0, [A6 + 0xE]
00005506 2840 movea.l A4, D0
00005508 42A7 clr.l -[A7]
0000550A 2F3C FFFF 0100 move.l -[A7], 0xFFFF0100
00005510 2F03 move.l -[A7], D3
00005512 2F2E 000E move.l -[A7], [A6 + 0xE]
00005516 3F2E 0008 move.w -[A7], [A6 + 0x8]
0000551A 2F07 move.l -[A7], D7
0000551C 2F06 move.l -[A7], D6
0000551E 2F0C move.l -[A7], A4
00005520 4EBA F4D0 jsr [PC - 0xB30 /* 000049F2 */]
00005524 4FEF 001E lea.l A7, [A7 + 0x1E]
label00005528:
00005528 4CDF 10F8 movem.l D3,D4,D5,D6,D7,A4, [A7]+
0000552C 4E5E unlink A6
0000552E 4E75 rts
00005530 4E56 0000 link A6, 0
00005534 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
00005538 2E2E 000A move.l D7, [A6 + 0xA]
0000553C 4A2D FEAA tst.b [A5 - 0x156]
00005540 666C bne +0x6E /* 000055AE */
00005542 3F2E 0008 move.w -[A7], [A6 + 0x8]
00005546 4EBA F3AA jsr [PC - 0xC56 /* 000048F2 */]
0000554A 2840 movea.l A4, D0
0000554C 200C move.l D0, A4
0000554E 548F addq.l A7, 2
00005550 675C beq +0x5E /* 000055AE */
00005552 4A14 tst.b [A4]
00005554 6710 beq +0x12 /* 00005566 */
00005556 2F2C 0010 move.l -[A7], [A4 + 0x10]
0000555A 2F2C 000C move.l -[A7], [A4 + 0xC]
0000555E 4EBA FA04 jsr [PC - 0x5FC /* 00004F64 */]
00005562 4214 clr.b [A4]
00005564 508F addq.l A7, 8
label00005566:
00005566 4A87 tst.l D7
00005568 6604 bne +0x6 /* 0000556E */
0000556A 2E2C 001E move.l D7, [A4 + 0x1E]
label0000556E:
0000556E 3A2D FEA6 move.w D5, [A5 - 0x15A]
00005572 426D FEA6 clr.w [A5 - 0x15A]
00005576 426D FEA8 clr.w [A5 - 0x158]
0000557A 2C2C 0010 move.l D6, [A4 + 0x10]
0000557E 70FA moveq.l D0, 0xFFFFFFFA
00005580 D0AC 000C add.l D0, [A4 + 0xC]
00005584 2640 movea.l A3, D0
00005586 42A7 clr.l -[A7]
00005588 1F3C 0001 move.b -[A7], 0x1
0000558C 3F2E 000E move.w -[A7], [A6 + 0xE]
00005590 2F2C 0018 move.l -[A7], [A4 + 0x18]
00005594 2F2C 0014 move.l -[A7], [A4 + 0x14]
00005598 3F2E 0008 move.w -[A7], [A6 + 0x8]
0000559C 2F07 move.l -[A7], D7
0000559E 2F06 move.l -[A7], D6
000055A0 2F0B move.l -[A7], A3
000055A2 4EBA F44E jsr [PC - 0xBB2 /* 000049F2 */]
000055A6 3B45 FEA6 move.w [A5 - 0x15A], D5
000055AA 4FEF 001E lea.l A7, [A7 + 0x1E]
label000055AE:
000055AE 4CDF 18E0 movem.l D5,D6,D7,A3,A4, [A7]+
000055B2 4E5E unlink A6
000055B4 4E75 rts
000055B6 4E56 0000 link A6, 0
000055BA 48E7 0318 movem.l -[A7], D6,D7,A3,A4
000055BE 2E2E 000A move.l D7, [A6 + 0xA]
000055C2 4A2D FEAA tst.b [A5 - 0x156]
000055C6 665C bne +0x5E /* 00005624 */
000055C8 3F2E 0008 move.w -[A7], [A6 + 0x8]
000055CC 4EBA F324 jsr [PC - 0xCDC /* 000048F2 */]
000055D0 2840 movea.l A4, D0
000055D2 200C move.l D0, A4
000055D4 548F addq.l A7, 2
000055D6 674C beq +0x4E /* 00005624 */
000055D8 4A14 tst.b [A4]
000055DA 6710 beq +0x12 /* 000055EC */
000055DC 2F2C 0010 move.l -[A7], [A4 + 0x10]
000055E0 2F2C 000C move.l -[A7], [A4 + 0xC]
000055E4 4EBA F97E jsr [PC - 0x682 /* 00004F64 */]
000055E8 4214 clr.b [A4]
000055EA 508F addq.l A7, 8
label000055EC:
000055EC 4A87 tst.l D7
000055EE 6604 bne +0x6 /* 000055F4 */
000055F0 2E2C 001E move.l D7, [A4 + 0x1E]
label000055F4:
000055F4 2C2C 0010 move.l D6, [A4 + 0x10]
000055F8 70FA moveq.l D0, 0xFFFFFFFA
000055FA D0AC 000C add.l D0, [A4 + 0xC]
000055FE 2640 movea.l A3, D0
00005600 2F2E 000E move.l -[A7], [A6 + 0xE]
00005604 2F3C FFFF 0100 move.l -[A7], 0xFFFF0100
0000560A 2F2C 0018 move.l -[A7], [A4 + 0x18]
0000560E 2F2C 0014 move.l -[A7], [A4 + 0x14]
00005612 3F2E 0008 move.w -[A7], [A6 + 0x8]
00005616 2F07 move.l -[A7], D7
00005618 2F06 move.l -[A7], D6
0000561A 2F0B move.l -[A7], A3
0000561C 4EBA F3D4 jsr [PC - 0xC2C /* 000049F2 */]
00005620 4FEF 001E lea.l A7, [A7 + 0x1E]
label00005624:
00005624 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
00005628 4E5E unlink A6
0000562A 4E75 rts
fn0000562C:
0000562C 48E7 0108 movem.l -[A7], D7,A4
00005630 7E00 moveq.l D7, 0x00
00005632 99CC sub.l A4, A4
00005634 600E bra +0x10 /* 00005644 */
label00005636:
00005636 204C movea.l A0, A4
00005638 D1ED FEDC add.l A0, [A5 - 0x124]
0000563C 4210 clr.b [A0]
0000563E 5247 addq.w D7, 1
00005640 49EC 0068 lea.l A4, [A4 + 0x68]
label00005644:
00005644 BE6D FEDA cmp.w D7, [A5 - 0x126]
00005648 6DEC blt -0x12 /* 00005636 */
0000564A 42A7 clr.l -[A7]
0000564C 3F3C 0067 move.w -[A7], 0x67 /* 'g' */
00005650 4EBA E7F0 jsr [PC - 0x1810 /* 00003E42 */]
00005654 5C8F addq.l A7, 6
00005656 4CDF 1080 movem.l D7,A4, [A7]+
0000565A 4E75 rts
fn0000565C:
0000565C 4E56 0000 link A6, 0
00005660 2F0C move.l -[A7], A4
00005662 4A2D FEAA tst.b [A5 - 0x156]
00005666 6640 bne +0x42 /* 000056A8 */
00005668 3F2E 0008 move.w -[A7], [A6 + 0x8]
0000566C 4EBA F34A jsr [PC - 0xCB6 /* 000049B8 */]
00005670 2840 movea.l A4, D0
00005672 200C move.l D0, A4
00005674 548F addq.l A7, 2
00005676 6730 beq +0x32 /* 000056A8 */
00005678 42AD FEBC clr.l [A5 - 0x144]
0000567C 42AC 0012 clr.l [A4 + 0x12]
00005680 422C 0042 clr.b [A4 + 0x42]
00005684 42AC 003E clr.l [A4 + 0x3E]
00005688 396E 0008 0036 move.w [A4 + 0x36], [A6 + 0x8]
0000568E 200D move.l D0, A5
00005690 2A78 0904 movea.l A5, [0x00000904 /* CurrentA5 */]
00005694 2940 0038 move.l [A4 + 0x38], D0
00005698 486C 001E pea.l [A4 + 0x1E]
0000569C 3F3C 0065 move.w -[A7], 0x65 /* 'e' */
000056A0 4EBA E7A0 jsr [PC - 0x1860 /* 00003E42 */]
000056A4 4214 clr.b [A4]
000056A6 5C8F addq.l A7, 6
label000056A8:
000056A8 285F movea.l A4, [A7]+
000056AA 4E5E unlink A6
000056AC 4E75 rts
fn000056AE:
000056AE 48E7 0318 movem.l -[A7], D6,D7,A3,A4
000056B2 7E01 moveq.l D7, 0x01
000056B4 4A2D FEAA tst.b [A5 - 0x156]
000056B8 6630 bne +0x32 /* 000056EA */
000056BA 7C00 moveq.l D6, 0x00
000056BC 97CB sub.l A3, A3
000056BE 6024 bra +0x26 /* 000056E4 */
label000056C0:
000056C0 284B movea.l A4, A3
000056C2 D9ED FEDC add.l A4, [A5 - 0x124]
000056C6 4A14 tst.b [A4]
000056C8 6714 beq +0x16 /* 000056DE */
000056CA 486C 001E pea.l [A4 + 0x1E]
000056CE 3F3C 0066 move.w -[A7], 0x66 /* 'f' */
000056D2 4EBA E76E jsr [PC - 0x1892 /* 00003E42 */]
000056D6 4A80 tst.l D0
000056D8 5C8F addq.l A7, 6
000056DA 6602 bne +0x4 /* 000056DE */
000056DC 7E00 moveq.l D7, 0x00
label000056DE:
000056DE 5246 addq.w D6, 1
000056E0 47EB 0068 lea.l A3, [A3 + 0x68]
label000056E4:
000056E4 BC6D FEDA cmp.w D6, [A5 - 0x126]
000056E8 6DD6 blt -0x28 /* 000056C0 */
label000056EA:
000056EA 1007 move.b D0, D7
000056EC 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
000056F0 4E75 rts
000056F2 4E56 0000 link A6, 0
000056F6 48E7 0338 movem.l -[A7], D6,D7,A2,A3,A4
000056FA 266E 0008 movea.l A3, [A6 + 0x8]
000056FE 3C2E 000C move.w D6, [A6 + 0xC]
00005702 4A2D FEAA tst.b [A5 - 0x156]
00005706 6630 bne +0x32 /* 00005738 */
00005708 4EBA FF22 jsr [PC - 0xDE /* 0000562C */]
0000570C 7E00 moveq.l D7, 0x00
0000570E 95CA sub.l A2, A2
00005710 6012 bra +0x14 /* 00005724 */
label00005712:
00005712 204B movea.l A0, A3
00005714 D1CA add.l A0, A2
00005716 3F10 move.w -[A7], [A0]
00005718 4EBA F1D8 jsr [PC - 0xE28 /* 000048F2 */]
0000571C 2840 movea.l A4, D0
0000571E 548F addq.l A7, 2
00005720 5247 addq.w D7, 1
00005722 508A addq.l A2, 8
label00005724:
00005724 BC47 cmp.w D6, D7
00005726 6EEA bgt -0x14 /* 00005712 */
00005728 426D FEC4 clr.w [A5 - 0x13C]
0000572C 426D FEC8 clr.w [A5 - 0x138]
00005730 3B46 FEC6 move.w [A5 - 0x13A], D6
00005734 2B4B FEBC move.l [A5 - 0x144], A3
label00005738:
00005738 4CDF 1CC0 movem.l D6,D7,A2,A3,A4, [A7]+
0000573C 4E5E unlink A6
0000573E 4E75 rts
00005740 2F07 move.l -[A7], D7
00005742 7E00 moveq.l D7, 0x00
00005744 4A2D FEAA tst.b [A5 - 0x156]
00005748 6608 bne +0xA /* 00005752 */
0000574A 4AAD FEBC tst.l [A5 - 0x144]
0000574E 6602 bne +0x4 /* 00005752 */
00005750 7E01 moveq.l D7, 0x01
label00005752:
00005752 1007 move.b D0, D7
00005754 2E1F move.l D7, [A7]+
00005756 4E75 rts
00005758 4E56 0000 link A6, 0
0000575C 48E7 0108 movem.l -[A7], D7,A4
00005760 4AAD FEA2 tst.l [A5 - 0x15E]
00005764 6728 beq +0x2A /* 0000578E */
00005766 7E00 moveq.l D7, 0x00
00005768 99CC sub.l A4, A4
0000576A 601C bra +0x1E /* 00005788 */
label0000576C:
0000576C A01C syscall FreeMem
0000576E B0AE 0008 cmp.l D0, [A6 + 0x8]
00005772 640E bcc +0x10 /* 00005782 */
00005774 204C movea.l A0, A4
00005776 D1ED FEA2 add.l A0, [A5 - 0x15E]
0000577A 2F08 move.l -[A7], A0
0000577C 4EBA F6E4 jsr [PC - 0x91C /* 00004E62 */]
00005780 588F addq.l A7, 4
label00005782:
00005782 5247 addq.w D7, 1
00005784 49EC 0026 lea.l A4, [A4 + 0x26]
label00005788:
00005788 BE6D FEA0 cmp.w D7, [A5 - 0x160]
0000578C 6DDE blt -0x20 /* 0000576C */
label0000578E:
0000578E 4CDF 1080 movem.l D7,A4, [A7]+
00005792 4E5E unlink A6
00005794 4E75 rts
00005796 4E56 0000 link A6, 0
0000579A 202E 0008 move.l D0, [A6 + 0x8]
0000579E 4E5E unlink A6
000057A0 4E75 rts
000057A2 4E56 0000 link A6, 0
000057A6 2F0C move.l -[A7], A4
000057A8 3F2E 0008 move.w -[A7], [A6 + 0x8]
000057AC 4EBA F144 jsr [PC - 0xEBC /* 000048F2 */]
000057B0 2840 movea.l A4, D0
000057B2 200C move.l D0, A4
000057B4 548F addq.l A7, 2
000057B6 670C beq +0xE /* 000057C4 */
000057B8 4A2E 000A tst.b [A6 + 0xA]
000057BC 57C0 seq D0
000057BE 4400 neg.b D0
000057C0 1940 0002 move.b [A4 + 0x2], D0
label000057C4:
000057C4 285F movea.l A4, [A7]+
000057C6 4E5E unlink A6
000057C8 4E75 rts
000057CA 4E56 0000 link A6, 0
000057CE 1B6E 0008 FEB0 move.b [A5 - 0x150], [A6 + 0x8]
000057D4 4E5E unlink A6
000057D6 4E75 rts
000057D8 6000 008C bra +0x8E /* 00005866 */
000057DC 5953 subq.w [A3], 4
000057DE 6F75 ble +0x77 /* 00005855 */
000057E0 6E64 bgt +0x66 /* 00005846 */
000057E2 5379 7320 2620 subq.w [0x73202620], 1
000057E8 4D75 7369 6353 chk.w D6, [[A5 + 0x6353]]
000057EE 7973 moveq.l D4, 0x73
000057F0 20A9 2043 move.l [A0], [A1 + 0x2043]
000057F4 6F70 ble +0x72 /* 00005866 */
000057F6 7972 moveq.l D4, 0x72
000057F8 6967 bvs +0x69 /* 00005861 */
000057FA 6874 bvc +0x76 /* 00005870 */
000057FC 2031 3938 392D 3139 move.l D0, [A1 + 0x392D3139 + D3]
00005804 3932 2053 move.w -[A4], [A2 + D2.w + 0x53]
00005808 7465 moveq.l D2, 0x65
0000580A 7665 moveq.l D3, 0x65
0000580C 2048 movea.l A0, A0
0000580E 616C bsr +0x6E /* 0000587C */
00005810 6573 bcs +0x75 /* 00005885 */
00005812 2026 move.l D0, -[A6]
00005814 204A movea.l A0, A2
00005816 696D bvs +0x6F /* 00005885 */
00005818 204E movea.l A0, A6
0000581A 6974 bvs +0x76 /* 00005890 */
0000581C 6368 bls +0x6A /* 00005886 */
0000581E 616C bsr +0x6E /* 0000588C */
00005820 732C moveq.l D1, 0x2C
00005822 2041 movea.l A0, D1
00005824 6C6C bge +0x6E /* 00005892 */
00005826 2052 movea.l A0, [A2]
00005828 6967 bvs +0x69 /* 00005891 */
0000582A 6874 bvc +0x76 /* 000058A0 */
0000582C 7320 moveq.l D1, 0x20
0000582E 5265 addq.w -[A5], 1
00005830 7365 moveq.l D1, 0x65
00005832 7276 moveq.l D1, 0x76
00005834 6564 bcs +0x66 /* 0000589A */
00005836 2E4C movea.l A7, A4
00005838 6963 bvs +0x65 /* 0000589D */
0000583A 656E bcs +0x70 /* 000058AA */
0000583C 7365 moveq.l D1, 0x65
0000583E 6420 bcc +0x22 /* 00005860 */
00005840 746F moveq.l D2, 0x6F
00005842 2050 movea.l A0, [A0]
00005844 7265 moveq.l D1, 0x65
label00005846:
00005846 7361 moveq.l D1, 0x61
00005848 6765 beq +0x67 /* 000058AF */
0000584A 2053 movea.l A0, [A3]
0000584C 6F66 ble +0x68 /* 000058B4 */
0000584E 7477 moveq.l D2, 0x77
00005850 6172 bsr +0x74 /* 000058C4 */
00005852 6520 bcs +0x22 /* 00005874 */
00005854 4465 neg.w -[A5]
00005856 7665 moveq.l D3, 0x65
00005858 6C6F bge +0x71 /* 000058C9 */
0000585A 7065 moveq.l D0, 0x65
0000585C 6D65 blt +0x67 /* 000058C3 */
0000585E 6E74 bgt +0x76 /* 000058D4 */
label00005860:
00005860 2C20 move.l D6, -[A0]
00005862 496E 6300 chk.w D4, [A6 + 0x6300]
label00005866:
00005866 41FA FFCE lea.l A0, [PC - 0x32 /* 00005836, value 0x2E4C6963 '.Lic', pstring "Licensed to Presage Software Developement, Inc" */]
0000586A 2008 move.l D0, A0
0000586C 4E75 rts
0000586E 4E75 rts